diff options
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/map/Map4Orders.java | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java b/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java index dae4e91..f9a02ac 100644 --- a/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java +++ b/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java @@ -119,25 +119,6 @@ public abstract class Map4Orders extends Map3Animations return order; } - private void initMove(Unit unit) - { - activableUnits.remove(unit); - activatedUnits.add(unit); - playMoveSound(unit); - } - - private int doPromote(final Unit unit) - { - activatedUnits.add(unit); - addPromoteAnimation(unit, battle.getPlayer(), new Runnable() { - @Override - public void run() { - battle.getPlayer().promote(unit); - } - }); - return 1; - } - private int process(Order order) { RustAndDust.debug("Order", order.toString()); @@ -205,6 +186,25 @@ public abstract class Map4Orders extends Map3Animations return r; } + private void initMove(Unit unit) + { + activableUnits.remove(unit); + activatedUnits.add(unit); + playMoveSound(unit); + } + + private int doPromote(final Unit unit) + { + activatedUnits.add(unit); + addPromoteAnimation(unit, battle.getPlayer(), new Runnable() { + @Override + public void run() { + battle.getPlayer().promote(unit); + } + }); + return 1; + } + private int doEngagement(Engagement e) { resolveEngagement(e); |