diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-26 23:56:22 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-26 23:56:22 +0100 |
commit | 93fd5138ed2363d057b67be96198eb1312973586 (patch) | |
tree | ef1a9d2bc537a3e73d1cc1f78c6086f8c2a48595 /core/src | |
parent | 66064941c8419f559b9c9ff2437308294eee316f (diff) | |
download | RustAndDust-93fd5138ed2363d057b67be96198eb1312973586.zip RustAndDust-93fd5138ed2363d057b67be96198eb1312973586.tar.gz |
StateMove: hideAssists() -> hideActivable()
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/states/StateMove.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/states/StateMove.java b/core/src/ch/asynk/rustanddust/game/states/StateMove.java index 2a3c8b8..f56a942 100644 --- a/core/src/ch/asynk/rustanddust/game/states/StateMove.java +++ b/core/src/ch/asynk/rustanddust/game/states/StateMove.java @@ -65,7 +65,7 @@ public class StateMove extends StateCommon @Override public StateType abort() { - hideAssists(); + hideActivable(); if (activeUnit.justEntered()) { map.revertEnter(activeUnit); return StateType.ABORT; @@ -80,7 +80,7 @@ public class StateMove extends StateCommon @Override public StateType execute() { - hideAssists(); + hideActivable(); // be sure that the hq is activated if (selectedUnit.canMove() && (map.unitsActivatedSize() > 0)) selectedUnit.setMoved(); @@ -114,7 +114,7 @@ public class StateMove extends StateCommon } } - private void hideAssists() + private void hideActivable() { map.unitsActivableHide(); } |