From 012eff6e0f309611fde486d7dcf3518ff6210d55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sun, 5 Oct 2014 10:34:25 +0200 Subject: GameStateNone: hide possible targets on switch to PATH --- core/src/ch/asynk/tankontank/game/GameStateNone.java | 1 + 1 file changed, 1 insertion(+) 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(); -- cgit v1.1-2-g2b99