summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/screens
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-01-14 22:00:37 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-01-14 22:00:37 +0100
commit80d112498d3dbf5226490687d38e3059a18cc578 (patch)
tree7967ed8076085a3466e178e892621a380d059aa1 /core/src/ch/asynk/rustanddust/screens
parentf510ce9555e9cbc78c6d7e73fc7b22a1128c922b (diff)
downloadRustAndDust-80d112498d3dbf5226490687d38e3059a18cc578.zip
RustAndDust-80d112498d3dbf5226490687d38e3059a18cc578.tar.gz
add game.ctrl.solo: first step into multimode game
Diffstat (limited to 'core/src/ch/asynk/rustanddust/screens')
-rw-r--r--core/src/ch/asynk/rustanddust/screens/GameScreen.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/screens/GameScreen.java b/core/src/ch/asynk/rustanddust/screens/GameScreen.java
index a1e759f..cc49263 100644
--- a/core/src/ch/asynk/rustanddust/screens/GameScreen.java
+++ b/core/src/ch/asynk/rustanddust/screens/GameScreen.java
@@ -19,6 +19,7 @@ import com.badlogic.gdx.math.Vector3;
import ch.asynk.rustanddust.RustAndDust;
import ch.asynk.rustanddust.game.Ctrl;
+import ch.asynk.rustanddust.game.ctrl.Solo;
public class GameScreen implements Screen
{
@@ -58,7 +59,7 @@ public class GameScreen implements Screen
this.blocked = false;
this.batch = new SpriteBatch();
- this.ctrl = new Ctrl(game, game.config.battle);
+ this.ctrl = new Solo(game, game.config.battle);
this.cam = new GameCamera(ctrl.map.getWidth(), ctrl.map.getHeight(), ZOOM_OUT_MAX, ZOOM_IN_MAX, game.hudCorrection, FIXED_HUD);
if (DEBUG) this.debugShapes = new ShapeRenderer();