Fully implemented the flip feature in Controller
parent
994f03067c
commit
7da371cd9b
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue