summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-01-18 23:36:40 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-01-18 23:36:40 +0100
commit82286dfbc8448ae56bb33e448a6b4a89754fbca5 (patch)
tree14bd1abf061914b85b35b149d58f54e0267a4037 /core
parent828f856a9b6aed935fe8e50a892bb6dec7aaceb0 (diff)
downloadRustAndDust-82286dfbc8448ae56bb33e448a6b4a89754fbca5.zip
RustAndDust-82286dfbc8448ae56bb33e448a6b4a89754fbca5.tar.gz
Map: advertise States entry calls
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/tankontank/game/Map.java4
1 files changed, 3 insertions, 1 deletions
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);