diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/fr/umlv/java/wallj/context/Game.java | 3 |
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 @@ | |||
1 | package fr.umlv.java.wallj.context; | 1 | package fr.umlv.java.wallj.context; |
2 | 2 | ||
3 | import fr.umlv.java.wallj.board.Board; | 3 | import fr.umlv.java.wallj.board.Board; |
4 | import fr.umlv.java.wallj.controller.Controller; | ||
5 | import fr.umlv.java.wallj.event.ConfirmOrder; | 4 | import fr.umlv.java.wallj.event.ConfirmOrder; |
6 | import fr.umlv.java.wallj.event.Event; | 5 | import fr.umlv.java.wallj.event.Event; |
7 | import fr.umlv.java.wallj.event.Events; | 6 | import 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 |