diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-07 23:36:04 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-07 23:36:04 +0200 |
commit | 24b787910b1d22fc717a5432825b1c22d4780da0 (patch) | |
tree | a67eab41aeca039beddcf3a1940654fc8ed3d156 /core/src | |
parent | b4c304514291ecabb75821163d46b370a1c2290c (diff) | |
download | RustAndDust-24b787910b1d22fc717a5432825b1c22d4780da0.zip RustAndDust-24b787910b1d22fc717a5432825b1c22d4780da0.tar.gz |
GameStateView: show move assist
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/states/GameStateView.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/GameStateView.java b/core/src/ch/asynk/tankontank/game/states/GameStateView.java index 74f1ca3..9313bc9 100644 --- a/core/src/ch/asynk/tankontank/game/states/GameStateView.java +++ b/core/src/ch/asynk/tankontank/game/states/GameStateView.java @@ -27,6 +27,7 @@ public class GameStateView extends GameStateCommon if (hasPawn()) { map.buildAndShowPossibleMoves(pawn, hex); map.buildAndShowPossibleTargets(pawn, hex); + map.buildAndShowMoveAssist(pawn, hex); } else { clear(); } @@ -43,5 +44,6 @@ public class GameStateView extends GameStateCommon { map.enablePossibleMoves(false); map.enablePossibleTargets(false); + map.enableMoveAssist(false); } } |