Fully implemented the flip feature in Controller

Quicksave
Justin 2025-06-19 21:30:18 +02:00
parent 994f03067c
commit 7da371cd9b
1 changed files with 5 additions and 0 deletions

View File

@ -37,6 +37,11 @@ public class Controller {
}); });
} }
} }
gui.getFlipBoardButton().addActionListener(e -> {
gui.setFlipped(!gui.isFlipped()); // Zustand wechseln
updateGuiBoard(); // Brett neu zeichnen (mit Flip!)
});
} }
private void handleClick(int row, int col) { private void handleClick(int row, int col) {