From 0409b4a2e5aba2a81f6fa59ded5f29c2475f5c5d Mon Sep 17 00:00:00 2001 From: Jérémy Zurcher Date: Sun, 12 Oct 2014 12:17:17 +0200 Subject: add chosen direction overlay when must check --- core/src/ch/asynk/tankontank/game/states/StateRotate.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core/src/ch/asynk/tankontank/game/states') diff --git a/core/src/ch/asynk/tankontank/game/states/StateRotate.java b/core/src/ch/asynk/tankontank/game/states/StateRotate.java index f692ed06..431c5a1c 100644 --- a/core/src/ch/asynk/tankontank/game/states/StateRotate.java +++ b/core/src/ch/asynk/tankontank/game/states/StateRotate.java @@ -44,6 +44,7 @@ public class StateRotate extends StateCommon unselectHex(from); map.showFinalPath(to, false); map.showDirections(to, false); + map.showOrientation(to, false, o); to.set(-1, -1); from.set(-1, -1); } @@ -65,7 +66,8 @@ public class StateRotate extends StateCommon rotationSet = true; if (ctrl.cfg.mustValidate) { - // TODO show overlay + map.showDirections(to, false); + map.showOrientation(to, true, o); ctrl.hud.show(true, false, false, true, ctrl.cfg.canCancel); } else doRotation(o); -- cgit v1.2.3