diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/map/Map4Orders.java | 5 |
1 files changed, 5 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 fdb46f1..eaa4b1d 100644 --- a/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java +++ b/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java @@ -41,6 +41,11 @@ public abstract class Map4Orders extends Map3Animations protected int ordersSize() { return orders.size(); } protected void ordersClear() { orders.dispose(); } + public String toJson() + { + return orders.toJson(battle.getPlayer()); + } + // STATES ENTRY -> public void showOnBoard(final Unit unit, Hex to, Orientation o) |