diff options
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/map/Map4Orders.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java b/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java index 269f0e7..ff0e01f 100644 --- a/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java +++ b/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java @@ -133,6 +133,15 @@ public abstract class Map4Orders extends Map3Animations } } + public void prepareReplayLastTurn() + { + int s = orders.size(); + while (s > 0) { + s -= 1; + replayOrders.add(orders.get(s)); + } + } + public Order stepReplay() { int s = replayOrders.size(); |