diff options
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Ctrl.java | 1 | ||||
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Map.java | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Ctrl.java b/core/src/ch/asynk/tankontank/game/Ctrl.java index 1a71725..3db444b 100644 --- a/core/src/ch/asynk/tankontank/game/Ctrl.java +++ b/core/src/ch/asynk/tankontank/game/Ctrl.java @@ -163,6 +163,7 @@ public class Ctrl implements Disposable StateType nextState = this.state.done(); if (nextState == StateType.DONE) { + map.actionDone(); if (map.activatedUnits.size() > 0) { TankOnTank.debug("burn down 1AP"); player.burnDownOneAp(); diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java index cb594f7..878a7e3 100644 --- a/core/src/ch/asynk/tankontank/game/Map.java +++ b/core/src/ch/asynk/tankontank/game/Map.java @@ -177,6 +177,10 @@ public abstract class Map extends Board // ACTIONS + public void actionDone() + { + } + public boolean enterBoard(Unit unit, Hex to, int allowedMoves) { Orientation entry = findBestEntry(unit, to, allowedMoves); |