summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/battles
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-02-18 14:57:00 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-02-18 14:57:00 +0100
commitba74c5870735ae8546dd9de55c50190843b6aa6f (patch)
treee3f71588bbcc4716a808f05b7d9ff29a948770da /core/src/ch/asynk/tankontank/game/battles
parent07cb6f5d7c5f48b05391824bbfc364a03cdcad5f (diff)
downloadRustAndDust-ba74c5870735ae8546dd9de55c50190843b6aa6f.zip
RustAndDust-ba74c5870735ae8546dd9de55c50190843b6aa6f.tar.gz
Map,Ctrl: add Map.init(), Ctrl call it after battle.setup()
Diffstat (limited to 'core/src/ch/asynk/tankontank/game/battles')
-rw-r--r--core/src/ch/asynk/tankontank/game/battles/BattleTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/battles/BattleTest.java b/core/src/ch/asynk/tankontank/game/battles/BattleTest.java
index f2f7fd4..e844d15 100644
--- a/core/src/ch/asynk/tankontank/game/battles/BattleTest.java
+++ b/core/src/ch/asynk/tankontank/game/battles/BattleTest.java
@@ -122,6 +122,7 @@ public class BattleTest extends BattleCommon
setUnit(map, usPlayer, UnitId.US_INFANTRY, 5, 3, Orientation.NORTH_WEST, usExit);
setUnit(map, usPlayer, UnitId.US_AT_GUN, 10, 3, Orientation.SOUTH, usExit);
usPlayer.turnEnd();
+ map.init();
map.turnDone();
}
}