diff options
author | pacien | 2018-02-02 10:37:12 +0100 |
---|---|---|
committer | pacien | 2018-02-02 10:37:12 +0100 |
commit | 3b1b7b18189779d9659b7c99f7135fb7dbdf4bd0 (patch) | |
tree | 4e086882878b2a9e2d57bf11d2f0e8772b3eb2c3 | |
parent | e88566e8806d31290a927c08dee06d60150d5b9d (diff) | |
download | wallj-3b1b7b18189779d9659b7c99f7135fb7dbdf4bd0.tar.gz |
Temporary workaround
Signed-off-by: pacien <pacien.trangirard@pacien.net>
-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 |