mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 10:54:51 +00:00
spotless formatter
This commit is contained in:
@@ -40,6 +40,13 @@ public class UIGameBoard {
|
||||
// Game grid
|
||||
JPanel gameGrid = createGridPanel(TICTACTOE_SIZE, TICTACTOE_SIZE);
|
||||
tttPanel.add(gameGrid, BorderLayout.CENTER);
|
||||
|
||||
// localTicTacToe.setMoveListener((playerIndex, moveIndex, symbol) -> {
|
||||
// SwingUtilities.invokeLater(() -> {
|
||||
// cells[moveIndex].setText(String.valueOf(symbol));
|
||||
// });
|
||||
// });
|
||||
|
||||
}
|
||||
|
||||
private JPanel createGridPanel(int sizeX, int sizeY) {
|
||||
|
||||
@@ -226,4 +226,4 @@ public class LocalTicTacToe { // TODO: Implement runnable
|
||||
public void setUIReference(UIGameBoard uiGameBoard) {
|
||||
this.ui = uiGameBoard;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user