aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/fr/umlv/java/wallj/context/Game.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/fr/umlv/java/wallj/context/Game.java b/src/main/java/fr/umlv/java/wallj/context/Game.java
index 2f5b1ca..422e9b7 100644
--- a/src/main/java/fr/umlv/java/wallj/context/Game.java
+++ b/src/main/java/fr/umlv/java/wallj/context/Game.java
@@ -1,7 +1,6 @@
1package fr.umlv.java.wallj.context; 1package fr.umlv.java.wallj.context;
2 2
3import fr.umlv.java.wallj.board.Board; 3import fr.umlv.java.wallj.board.Board;
4import fr.umlv.java.wallj.controller.Controller;
5import fr.umlv.java.wallj.event.ConfirmOrder; 4import fr.umlv.java.wallj.event.ConfirmOrder;
6import fr.umlv.java.wallj.event.Event; 5import fr.umlv.java.wallj.event.Event;
7import fr.umlv.java.wallj.event.Events; 6import fr.umlv.java.wallj.event.Events;
@@ -91,7 +90,7 @@ public final class Game implements Updateable {
91 currentGame.setOver(); 90 currentGame.setOver();
92 } else { 91 } else {
93 if (isConfirmOrder) { 92 if (isConfirmOrder) {
94 if (currentGame.getCurrentStage().isCleared()) { // FIXME: use StageClearedEvent 93 if (false /*currentGame.getCurrentStage().isCleared()*/) { // FIXME: use StageClearedEvent
95 if (currentGame.hasNextBoard()) { //continue 94 if (currentGame.hasNextBoard()) { //continue
96 currentGame.nextStage(); 95 currentGame.nextStage();
97 } else { //no more board so game over => exiting 96 } else { //no more board so game over => exiting