summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-03-26 23:56:22 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-03-26 23:56:22 +0100
commit93fd5138ed2363d057b67be96198eb1312973586 (patch)
treeef1a9d2bc537a3e73d1cc1f78c6086f8c2a48595 /core
parent66064941c8419f559b9c9ff2437308294eee316f (diff)
downloadRustAndDust-93fd5138ed2363d057b67be96198eb1312973586.zip
RustAndDust-93fd5138ed2363d057b67be96198eb1312973586.tar.gz
StateMove: hideAssists() -> hideActivable()
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/rustanddust/game/states/StateMove.java6
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();
}