diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-19 10:36:19 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-19 10:36:19 +0100 |
commit | 650e16fcfbb3f77f9a877735a2bc02834af66ed9 (patch) | |
tree | 28c2f65f7e2fd3d985ddee9b4cbc8c327920910f /core/src/ch/asynk/rustanddust/screens | |
parent | 2b9cda532770d1e2a209e19e3aa83e8f3dc6d8c3 (diff) | |
download | RustAndDust-650e16fcfbb3f77f9a877735a2bc02834af66ed9.zip RustAndDust-650e16fcfbb3f77f9a877735a2bc02834af66ed9.tar.gz |
Ctrl: add getCtrl(GameMode)
Diffstat (limited to 'core/src/ch/asynk/rustanddust/screens')
-rw-r--r-- | core/src/ch/asynk/rustanddust/screens/GameScreen.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/screens/GameScreen.java b/core/src/ch/asynk/rustanddust/screens/GameScreen.java index cc49263..a4c6bd6 100644 --- a/core/src/ch/asynk/rustanddust/screens/GameScreen.java +++ b/core/src/ch/asynk/rustanddust/screens/GameScreen.java @@ -19,7 +19,6 @@ 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 { @@ -59,7 +58,7 @@ public class GameScreen implements Screen this.blocked = false; this.batch = new SpriteBatch(); - this.ctrl = new Solo(game, game.config.battle); + this.ctrl = Ctrl.getCtrl(game); 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(); |