summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-19 17:07:27 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-19 17:07:27 +0100
commit61a41c984078fc8880ab6796765439b3cc1e4b7f (patch)
treeb72f36f001b15794f893608dbba4160cd07499b3 /core/src/ch/asynk/tankontank/game
parenta3ba9b4271c053adfcec88fecba8e444440635d2 (diff)
downloadRustAndDust-61a41c984078fc8880ab6796765439b3cc1e4b7f.zip
RustAndDust-61a41c984078fc8880ab6796765439b3cc1e4b7f.tar.gz
Map: add map.meteorology
Diffstat (limited to 'core/src/ch/asynk/tankontank/game')
-rw-r--r--core/src/ch/asynk/tankontank/game/Map.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java
index 40d2dc3..253b2e7 100644
--- a/core/src/ch/asynk/tankontank/game/Map.java
+++ b/core/src/ch/asynk/tankontank/game/Map.java
@@ -15,6 +15,7 @@ import ch.asynk.tankontank.engine.PawnSet;
import ch.asynk.tankontank.engine.TileSet;
import ch.asynk.tankontank.engine.Board;
import ch.asynk.tankontank.engine.Orientation;
+import ch.asynk.tankontank.engine.Meteorology;
import ch.asynk.tankontank.engine.PossiblePaths;
import ch.asynk.tankontank.engine.gfx.animations.AnimationSequence;
import ch.asynk.tankontank.engine.gfx.animations.SpriteAnimation;
@@ -37,6 +38,8 @@ public abstract class Map extends Board
public final Board.PawnCollection activatedPawns;
public final Board.PawnCollection breakPawns;
+ public final Meteorology meteorology;
+
private final SpriteAnimation explosion;
private final SpriteAnimation explosions;
private final Sound moveSound;
@@ -70,6 +73,8 @@ public abstract class Map extends Board
engagementAssists = new PawnSet(this, 6);
activatedPawns = new PawnSet(this, 7);
breakPawns = new PawnSet(this, 4);
+
+ meteorology = new Meteorology();
}
@Override