summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-03-24 16:16:54 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-03-24 16:16:54 +0100
commit832a55a88268ce5bc40c7b2b52cd118580024397 (patch)
tree06ade24ef886aa23e463357a5057317a676427e6 /core
parentec35f7a40100a82154c3b041e5a2522fc74380d4 (diff)
downloadRustAndDust-832a55a88268ce5bc40c7b2b52cd118580024397.zip
RustAndDust-832a55a88268ce5bc40c7b2b52cd118580024397.tar.gz
Map4Orders: private methods rename
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/rustanddust/game/map/Map4Orders.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java b/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java
index 823c05a..dae4e91 100644
--- a/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java
+++ b/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java
@@ -126,7 +126,7 @@ public abstract class Map4Orders extends Map3Animations
playMoveSound(unit);
}
- private int doPromoteUnit(final Unit unit)
+ private int doPromote(final Unit unit)
{
activatedUnits.add(unit);
addPromoteAnimation(unit, battle.getPlayer(), new Runnable() {
@@ -146,10 +146,10 @@ public abstract class Map4Orders extends Map3Animations
switch(order.type) {
case MOVE:
- r = process(order.unit, order.move);
+ r = doMove(order.unit, order.move);
break;
case PROMOTE:
- r = doPromoteUnit(order.unit);
+ r = doPromote(order.unit);
break;
case ENGAGE:
r = doEngagement(order.engagement);
@@ -168,7 +168,7 @@ public abstract class Map4Orders extends Map3Animations
return r;
}
- private int process(Unit unit, Move move)
+ private int doMove(Unit unit, Move move)
{
RustAndDust.debug(" Move", String.format("%s %s", move.type, move.toString()));