Changed code comments in Controller
parent
0d899a762a
commit
1232345b00
|
@ -158,7 +158,7 @@ public class Controller {
|
|||
|
||||
public void updateGuiBoard() {
|
||||
BoardDTO board = engine.getBoardAsDTO();
|
||||
gui.updateBoard(board); // Passe die GUI an
|
||||
gui.updateBoard(board);
|
||||
}
|
||||
|
||||
// Hilfsmethode, um von Koordinaten (row/col) auf z.B. "E2" zu kommen
|
||||
|
@ -169,7 +169,6 @@ public class Controller {
|
|||
}
|
||||
|
||||
|
||||
// ... resetFieldBackground wie gehabt ...
|
||||
private void resetFieldBackground(int row, int col) {
|
||||
if ((row + col) % 2 == 0) {
|
||||
gui.getField(row, col).setBackground(new Color(0x778da9));
|
||||
|
|
Loading…
Reference in New Issue