diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-28 17:04:23 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-28 17:04:23 +0100 |
commit | cc91d08a4afd616101a69a94d8e52ac2314afc27 (patch) | |
tree | 03c9f3daf9e2298cf1657ebb8b944e37155df754 | |
parent | 8d27be639ff72ce038fbb1364a4c230c5d08a008 (diff) | |
download | RustAndDust-cc91d08a4afd616101a69a94d8e52ac2314afc27.zip RustAndDust-cc91d08a4afd616101a69a94d8e52ac2314afc27.tar.gz |
BattleCommon: Factory is final
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java | 3 |
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; |