From f9b11d9db9ff9b3c7c917490f16c9c6e5da7c92e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 8 Dec 2015 11:44:56 +0100 Subject: Map: rename collectAndShowMovesAndAssits -> collectUpdate --- core/src/ch/asynk/rustanddust/game/Map.java | 2 +- 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; -- cgit v1.1-2-g2b99