summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/tankontank/game/Hud.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Hud.java b/core/src/ch/asynk/tankontank/game/Hud.java
index 189af06..b4e7e50 100644
--- a/core/src/ch/asynk/tankontank/game/Hud.java
+++ b/core/src/ch/asynk/tankontank/game/Hud.java
@@ -163,13 +163,12 @@ public class Hud implements Disposable
if (moveAct.hit(x, y)) {
moveAct.setOn();
- ctrl.setState(GameState.State.MOVE, false);
+ ctrl.setState(GameState.State.MOVE);
} else if (rotateAct.hit(x, y)) {
rotateAct.setOn();
- ctrl.setState(GameState.State.ROTATE, false);
+ ctrl.setState(GameState.State.ROTATE);
} else if (attackAct.hit(x, y)) {
- attackAct.setOn();
- ctrl.setState(GameState.State.ATTACK, false);
+ // TODO
} else if (cancelAct.hit(x, y)) {
reset();
ctrl.abort();