From 832a55a88268ce5bc40c7b2b52cd118580024397 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 24 Mar 2016 16:16:54 +0100 Subject: Map4Orders: private methods rename --- core/src/ch/asynk/rustanddust/game/map/Map4Orders.java | 8 ++++---- 1 file 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())); -- cgit v1.1-2-g2b99