add comment
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user