summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/ctrl
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-01-31 01:32:44 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-01-31 01:32:44 +0100
commit2f827179c802ed92d531772befced54ca1bbef79 (patch)
treea78fe73496fea1960e6ac4e8527f3ffaaa86eae6 /core/src/ch/asynk/rustanddust/game/ctrl
parenta3e290c95be3a6201ad7c16a88e15719399a1144 (diff)
downloadRustAndDust-2f827179c802ed92d531772befced54ca1bbef79.zip
RustAndDust-2f827179c802ed92d531772befced54ca1bbef79.tar.gz
Player,Battle: player id is private and needed at construction, Battle knows player a and b
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game/ctrl')
-rw-r--r--core/src/ch/asynk/rustanddust/game/ctrl/Solo.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java b/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java
index a2b5be1..9d5a20d 100644
--- a/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java
+++ b/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java
@@ -14,7 +14,7 @@ public class Solo extends Ctrl
@Override
public void init()
{
- battle.init(this);
+ battle.init(this, 0, 1);
}
@Override