summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-05-04 10:56:56 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-05-04 10:56:56 +0200
commit1287a6e7bad4a3846eaab20a9b407919ae456147 (patch)
tree86bf9eddeb1512aa53038887a48d9c6bb068b9f2 /core
parent09c0730b0f4c938195b6d51ce12a0ef4329b4d1b (diff)
downloadRustAndDust-1287a6e7bad4a3846eaab20a9b407919ae456147.zip
RustAndDust-1287a6e7bad4a3846eaab20a9b407919ae456147.tar.gz
StateEngage: doRotation(Orientation) -> doBreakMove(Orientation)
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/rustanddust/game/states/StateEngage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/states/StateEngage.java b/core/src/ch/asynk/rustanddust/game/states/StateEngage.java
index ccd79c7..27c1632 100644
--- a/core/src/ch/asynk/rustanddust/game/states/StateEngage.java
+++ b/core/src/ch/asynk/rustanddust/game/states/StateEngage.java
@@ -73,7 +73,7 @@ public class StateEngage extends StateCommon
if (o == Orientation.KEEP)
unselectBreakUnit();
else
- doRotation(o);
+ doBreakMove(o);
}
}
@@ -134,7 +134,7 @@ public class StateEngage extends StateCommon
activeUnit = null;
}
- private void doRotation(Orientation o)
+ private void doBreakMove(Orientation o)
{
map.hexMoveHide(to);
map.hexMoveHide(activeUnit.getHex());