summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-19 17:08:15 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-19 17:08:15 +0100
commita82185459b49da527ec3d387e6a7a74e150e2215 (patch)
tree729293b456115b997269a36e98cb07e8f2b7113b /core/src/ch/asynk/tankontank
parentcd0986c06c49b4329e80d18be3f3d432b492e063 (diff)
downloadRustAndDust-a82185459b49da527ec3d387e6a7a74e150e2215.zip
RustAndDust-a82185459b49da527ec3d387e6a7a74e150e2215.tar.gz
BattleNightAction: is night action
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r--core/src/ch/asynk/tankontank/game/battles/BattleNightAction.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/battles/BattleNightAction.java b/core/src/ch/asynk/tankontank/game/battles/BattleNightAction.java
index 4d4d795..800c884 100644
--- a/core/src/ch/asynk/tankontank/game/battles/BattleNightAction.java
+++ b/core/src/ch/asynk/tankontank/game/battles/BattleNightAction.java
@@ -13,6 +13,7 @@ import ch.asynk.tankontank.engine.Tile;
import ch.asynk.tankontank.engine.TileSet;
import ch.asynk.tankontank.engine.Zone;
import ch.asynk.tankontank.engine.Orientation;
+import ch.asynk.tankontank.engine.Meteorology;
public class BattleNightAction extends BattleCommon
{
@@ -111,6 +112,8 @@ public class BattleNightAction extends BattleCommon
@Override
public void setup(Ctrl ctrl, Map map)
{
+ map.meteorology.day = Meteorology.Day.NIGHT;
+
// hex row I
Zone geEntry = new Zone(map, 10);
geEntry.orientation = Orientation.NORTH_EAST;