summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Map.java21
1 files changed, 8 insertions, 13 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Map.java b/core/src/ch/asynk/rustanddust/game/Map.java
index b31410f..99f1011 100644
--- a/core/src/ch/asynk/rustanddust/game/Map.java
+++ b/core/src/ch/asynk/rustanddust/game/Map.java
@@ -24,9 +24,15 @@ public abstract class Map extends Map4Commands
meteorology = new Meteorology();
}
- public void init()
+ public void clearAll()
+ {
+ clearMoves();
+ clearUnits();
+ }
+
+ public void actionDone()
{
- actionDone();
+ objectives.forget();
}
public void turnDone()
@@ -40,17 +46,6 @@ public abstract class Map extends Map4Commands
commandsClear();
}
- public void actionDone()
- {
- objectives.forget();
- }
-
- public void clearAll()
- {
- clearMoves();
- clearUnits();
- }
-
@Override
protected int engagementCost(Engagement e)
{