diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-16 13:23:29 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-16 13:23:29 +0100 |
commit | ed4d60b0cb98b0b0442b9ca6a8817a95a88cd4fb (patch) | |
tree | 4fc19ffa26aeebe5dc1c1010259ed9597f048660 /core/src | |
parent | 973f6ac754f80fe8a558ed6f15916c446359f3b3 (diff) | |
download | RustAndDust-ed4d60b0cb98b0b0442b9ca6a8817a95a88cd4fb.zip RustAndDust-ed4d60b0cb98b0b0442b9ca6a8817a95a88cd4fb.tar.gz |
StateDeployment: update hud on unitEnter() or undo()
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/states/StateDeployment.java | 2 |
1 files changed, 2 insertions, 0 deletions
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() |