From 82286dfbc8448ae56bb33e448a6b4a89754fbca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sun, 18 Jan 2015 23:36:40 +0100 Subject: Map: advertise States entry calls --- core/src/ch/asynk/tankontank/game/Map.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java index 35a4325..be97c7f 100644 --- a/core/src/ch/asynk/tankontank/game/Map.java +++ b/core/src/ch/asynk/tankontank/game/Map.java @@ -260,7 +260,7 @@ public abstract class Map extends Board return 0; } - // ACTIONS + // STATES ENTRY -> public void actionDone() { @@ -342,6 +342,8 @@ public abstract class Map extends Board ctrl.player.revertUnitEntry(unit); } + // STATES ENTRY <- + private int startMove(Unit unit) { moveableUnits.remove(unit); -- cgit v1.1-2-g2b99