summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-01-28 17:04:23 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-01-28 17:04:23 +0100
commitcc91d08a4afd616101a69a94d8e52ac2314afc27 (patch)
tree03c9f3daf9e2298cf1657ebb8b944e37155df754 /core/src/ch
parent8d27be639ff72ce038fbb1364a4c230c5d08a008 (diff)
downloadRustAndDust-cc91d08a4afd616101a69a94d8e52ac2314afc27.zip
RustAndDust-cc91d08a4afd616101a69a94d8e52ac2314afc27.tar.gz
BattleCommon: Factory is final
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java b/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java
index 96ff1d2..ab7bca4 100644
--- a/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java
+++ b/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java
@@ -22,11 +22,12 @@ public abstract class BattleCommon implements Battle
{
protected final static Random random = new Random(System.currentTimeMillis());
+ protected final Factory factory;
+
protected int _id;
protected Factory.MapType mapType;
protected String name;
protected String description;
- protected Factory factory;
protected Map map;
protected Player currentPlayer;
protected Player usPlayer;