From ed4d60b0cb98b0b0442b9ca6a8817a95a88cd4fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sun, 16 Nov 2014 13:23:29 +0100 Subject: StateDeployment: update hud on unitEnter() or undo() --- core/src/ch/asynk/tankontank/game/states/StateDeployment.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/ch/asynk/tankontank/game/states/StateDeployment.java b/core/src/ch/asynk/tankontank/game/states/StateDeployment.java index 299fdfa..3be9201 100644 --- a/core/src/ch/asynk/tankontank/game/states/StateDeployment.java +++ b/core/src/ch/asynk/tankontank/game/states/StateDeployment.java @@ -97,6 +97,7 @@ public class StateDeployment extends StateCommon ctrl.player.revertUnitEntry(selectedUnit); activeUnit = null; selectedUnit = null; + ctrl.hud.update(); } private void unitEnter(Unit unit) @@ -108,6 +109,7 @@ public class StateDeployment extends StateCommon deployedUnits.add(unit); entryPoint.enable(Hex.AREA, false); showRotation(); + ctrl.hud.update(); } private void showRotation() -- cgit v1.1-2-g2b99