summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-12-09 08:15:22 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-12-09 08:15:22 +0100
commit8a8e535403a00cb5cab29a19b23c6ead9bcf90b2 (patch)
tree0890c06c664fdfde943304cbbd573df932b3e7a4 /core/src/ch/asynk/rustanddust/game
parentf501da949c577f954ed9f93535f782d0141f1510 (diff)
downloadRustAndDust-8a8e535403a00cb5cab29a19b23c6ead9bcf90b2.zip
RustAndDust-8a8e535403a00cb5cab29a19b23c6ead9bcf90b2.tar.gz
Map00: call setup() from constructor
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game')
-rw-r--r--core/src/ch/asynk/rustanddust/game/battles/Map00.java3
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;