diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-12 12:17:17 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-12 12:17:17 +0200 |
commit | 0409b4a2e5aba2a81f6fa59ded5f29c2475f5c5d (patch) | |
tree | 414cf62724d7b3aa1cb7ecdeae004e007304aef9 /core/src/ch/asynk/tankontank/game/states | |
parent | 474c8fcce19bf7be821bf3f3411027fed5a9a867 (diff) | |
download | RustAndDust-0409b4a2e5aba2a81f6fa59ded5f29c2475f5c5d.zip RustAndDust-0409b4a2e5aba2a81f6fa59ded5f29c2475f5c5d.tar.gz |
add chosen direction overlay when must check
Diffstat (limited to 'core/src/ch/asynk/tankontank/game/states')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/states/StateRotate.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/StateRotate.java b/core/src/ch/asynk/tankontank/game/states/StateRotate.java index f692ed0..431c5a1 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); |