diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-01-18 22:04:38 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-01-18 22:04:38 +0100 |
commit | c8ed4e30b06b4d85cc9a0a2d80c08a40c61a6697 (patch) | |
tree | c92e011f294debf14b3161360d2eb4a393d757e6 /core/src/ch/asynk/tankontank/game/states | |
parent | 5dd4f73ac19d1455abdd3a0043d8fbcd0d585a4c (diff) | |
download | RustAndDust-c8ed4e30b06b4d85cc9a0a2d80c08a40c61a6697.zip RustAndDust-c8ed4e30b06b4d85cc9a0a2d80c08a40c61a6697.tar.gz |
Map: leaveBoard -> exitBoard
Diffstat (limited to 'core/src/ch/asynk/tankontank/game/states')
4 files changed, 4 insertions, 4 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/StateDeployment.java b/core/src/ch/asynk/tankontank/game/states/StateDeployment.java index 1358372..24e8b12 100644 --- a/core/src/ch/asynk/tankontank/game/states/StateDeployment.java +++ b/core/src/ch/asynk/tankontank/game/states/StateDeployment.java @@ -89,7 +89,7 @@ public class StateDeployment extends StateCommon { map.unselectHex(selectedHex); map.hideDirections(selectedHex); - map.leaveBoard(selectedUnit); + map.exitBoard(selectedUnit); ctrl.player.revertUnitEntry(selectedUnit); activeUnit = null; selectedUnit = null; diff --git a/core/src/ch/asynk/tankontank/game/states/StateEscape.java b/core/src/ch/asynk/tankontank/game/states/StateEscape.java index b572bc1..c6a0cf4 100644 --- a/core/src/ch/asynk/tankontank/game/states/StateEscape.java +++ b/core/src/ch/asynk/tankontank/game/states/StateEscape.java @@ -60,7 +60,7 @@ public class StateEscape extends StateCommon map.hidePossibleMoves(); map.unselectHex(unit.getHex()); - map.leaveBoard(unit); + map.exitBoard(unit); ctrl.player.unitEscape(unit); if (map.moveUnit(activeUnit) > 0) diff --git a/core/src/ch/asynk/tankontank/game/states/StateMove.java b/core/src/ch/asynk/tankontank/game/states/StateMove.java index 0ed1b2a..c56971c 100644 --- a/core/src/ch/asynk/tankontank/game/states/StateMove.java +++ b/core/src/ch/asynk/tankontank/game/states/StateMove.java @@ -70,7 +70,7 @@ public class StateMove extends StateCommon { hideAssists(); if (activeUnit.justEntered()) { - map.leaveBoard(activeUnit); + map.exitBoard(activeUnit); ctrl.player.revertUnitEntry(activeUnit); return StateType.ABORT; } diff --git a/core/src/ch/asynk/tankontank/game/states/StateRotate.java b/core/src/ch/asynk/tankontank/game/states/StateRotate.java index 2b45512..c282733 100644 --- a/core/src/ch/asynk/tankontank/game/states/StateRotate.java +++ b/core/src/ch/asynk/tankontank/game/states/StateRotate.java @@ -55,7 +55,7 @@ public class StateRotate extends StateCommon StateType nextState = StateType.ABORT; ctrl.hud.actionButtons.hide(); if (activeUnit.justEntered()) { - map.leaveBoard(activeUnit); + map.exitBoard(activeUnit); ctrl.player.revertUnitEntry(activeUnit); nextState = StateType.ABORT; } else if (map.activatedUnits.size() == 0) { |