summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-12-08 11:44:56 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-12-08 11:44:56 +0100
commitf9b11d9db9ff9b3c7c917490f16c9c6e5da7c92e (patch)
tree94de2fc7e91e34fc1fc41dcd88a16314d918aa82 /core/src/ch/asynk/rustanddust/game
parent70faf6463cfdee8445f850cf1ab0360b7dc52568 (diff)
downloadRustAndDust-f9b11d9db9ff9b3c7c917490f16c9c6e5da7c92e.zip
RustAndDust-f9b11d9db9ff9b3c7c917490f16c9c6e5da7c92e.tar.gz
Map: rename collectAndShowMovesAndAssits -> collectUpdate
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Map.java2
-rw-r--r--core/src/ch/asynk/rustanddust/game/states/StateMove.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Map.java b/core/src/ch/asynk/rustanddust/game/Map.java
index d597813..ef048c1 100644
--- a/core/src/ch/asynk/rustanddust/game/Map.java
+++ b/core/src/ch/asynk/rustanddust/game/Map.java
@@ -256,7 +256,7 @@ public abstract class Map extends Board implements MoveToAnimationCb, ObjectiveS
}
}
- public void collectAndShowMovesAndAssits(Unit unit)
+ public void collectUpdate(Unit unit)
{
movesHide();
unitsHide(UnitType.MOVEABLE);
diff --git a/core/src/ch/asynk/rustanddust/game/states/StateMove.java b/core/src/ch/asynk/rustanddust/game/states/StateMove.java
index 5df3048..659b6ab 100644
--- a/core/src/ch/asynk/rustanddust/game/states/StateMove.java
+++ b/core/src/ch/asynk/rustanddust/game/states/StateMove.java
@@ -28,7 +28,7 @@ public class StateMove extends StateCommon
activeUnit = selectedUnit;
activeUnit.showMoveable();
map.pathsInit(activeUnit);
- map.collectAndShowMovesAndAssits(activeUnit);
+ map.collectUpdate(activeUnit);
if (to != null) {
// quick move -> replay touchUp
upHex = to;