add comment

This commit is contained in:
2025-04-28 17:31:46 +02:00
parent de4ed869ea
commit dd043794d6

View File

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