From 24b787910b1d22fc717a5432825b1c22d4780da0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 7 Oct 2014 23:36:04 +0200 Subject: GameStateView: show move assist --- core/src/ch/asynk/tankontank/game/states/GameStateView.java | 2 ++ 1 file changed, 2 insertions(+) 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); } } -- cgit v1.1-2-g2b99