From 8a8e535403a00cb5cab29a19b23c6ead9bcf90b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 9 Dec 2015 08:15:22 +0100 Subject: Map00: call setup() from constructor --- core/src/ch/asynk/rustanddust/game/battles/Map00.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.1-2-g2b99