diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-09 01:11:25 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-09 01:11:25 +0100 |
commit | 6dd260c8130ff79a97ff3aa2fcea38441808188d (patch) | |
tree | b2721c0a2bae8f661636ee49533d7051356a49f6 /core/src/ch/asynk/rustanddust/game | |
parent | dd643a24020145533c5b3ba6df161e3cebe21d8c (diff) | |
download | RustAndDust-6dd260c8130ff79a97ff3aa2fcea38441808188d.zip RustAndDust-6dd260c8130ff79a97ff3aa2fcea38441808188d.tar.gz |
Map: code cleanup
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Map.java | 21 |
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) { |