diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-09 08:15:22 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-09 08:15:22 +0100 |
commit | 8a8e535403a00cb5cab29a19b23c6ead9bcf90b2 (patch) | |
tree | 0890c06c664fdfde943304cbbd573df932b3e7a4 | |
parent | f501da949c577f954ed9f93535f782d0141f1510 (diff) | |
download | RustAndDust-8a8e535403a00cb5cab29a19b23c6ead9bcf90b2.zip RustAndDust-8a8e535403a00cb5cab29a19b23c6ead9bcf90b2.tar.gz |
Map00: call setup() from constructor
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/battles/Map00.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/battles/Map00.java b/core/src/ch/asynk/rustanddust/game/battles/Map00.java index db126cf..723a3b7 100644 --- a/core/src/ch/asynk/rustanddust/game/battles/Map00.java +++ b/core/src/ch/asynk/rustanddust/game/battles/Map00.java @@ -11,6 +11,7 @@ public class Map00 extends Map public Map00(final RustAndDust game, String map, String hex) { super(game, map, hex); + setup(); } @Override @@ -31,7 +32,7 @@ public class Map00 extends Map return cfg; } - protected void setup() + private void setup() { getHex(6, 1).terrain = Hex.Terrain.HILLS; getHex(5, 7).terrain = Hex.Terrain.HILLS; |