diff options
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/map/Map4Orders.java | 8 |
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())); |