dev #12

Merged
Persson-dev merged 44 commits from dev into main 2025-05-17 15:05:24 +00:00
Showing only changes of commit dd043794d6 - Show all commits

View File

@@ -65,6 +65,7 @@ public class DDDView extends GameAdaptator {
public void onGameStart() { public void onGameStart() {
this.window.scheduleTask(() -> { this.window.scheduleTask(() -> {
initBoard(); initBoard();
// start listening to mouse events
this.window.OnCellClick.connect(this::onCellClick); this.window.OnCellClick.connect(this::onCellClick);
this.window.OnCellEnter.connect(this::onCellEnter); this.window.OnCellEnter.connect(this::onCellEnter);
this.window.OnCellExit.connect(this::onCellExit); this.window.OnCellExit.connect(this::onCellExit);