diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-08 11:44:56 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-08 11:44:56 +0100 |
commit | f9b11d9db9ff9b3c7c917490f16c9c6e5da7c92e (patch) | |
tree | 94de2fc7e91e34fc1fc41dcd88a16314d918aa82 /core/src/ch/asynk/rustanddust/game | |
parent | 70faf6463cfdee8445f850cf1ab0360b7dc52568 (diff) | |
download | RustAndDust-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.java | 2 | ||||
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/states/StateMove.java | 2 |
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; |