diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-05 10:34:25 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-05 10:34:25 +0200 |
commit | 012eff6e0f309611fde486d7dcf3518ff6210d55 (patch) | |
tree | 8cc70847c35166a8333be63ad05ed1f7a4e6e54f /core/src/ch/asynk/tankontank | |
parent | 4f9359bd14d076c455f15e7a6beab4acb66a8028 (diff) | |
download | RustAndDust-012eff6e0f309611fde486d7dcf3518ff6210d55.zip RustAndDust-012eff6e0f309611fde486d7dcf3518ff6210d55.tar.gz |
GameStateNone: hide possible targets on switch to PATH
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/GameStateNone.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/GameStateNone.java b/core/src/ch/asynk/tankontank/game/GameStateNone.java index a66f30b..6243091 100644 --- a/core/src/ch/asynk/tankontank/game/GameStateNone.java +++ b/core/src/ch/asynk/tankontank/game/GameStateNone.java @@ -18,6 +18,7 @@ public class GameStateNone extends GameStateCommon public void touchDown() { if (map.isInPossibleMoves(downHex)) { + map.enablePossibleTargets(false); ctrl.setState(State.PATH, true); } else { unselectHex(); |