summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-07 23:36:04 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-07 23:36:04 +0200
commit24b787910b1d22fc717a5432825b1c22d4780da0 (patch)
treea67eab41aeca039beddcf3a1940654fc8ed3d156 /core/src/ch/asynk/tankontank
parentb4c304514291ecabb75821163d46b370a1c2290c (diff)
downloadRustAndDust-24b787910b1d22fc717a5432825b1c22d4780da0.zip
RustAndDust-24b787910b1d22fc717a5432825b1c22d4780da0.tar.gz
GameStateView: show move assist
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r--core/src/ch/asynk/tankontank/game/states/GameStateView.java2
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);
}
}