summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/screens
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-16 15:46:23 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-16 15:46:23 +0200
commitc1ea73e9ad9cc371991189ad7ce5e96264b573c7 (patch)
tree1be873c08e50dfc98555f344a3542ccbf5b05db5 /core/src/ch/asynk/tankontank/screens
parenta442f72cc0c308f415edc7332421ceb29539b459 (diff)
downloadRustAndDust-c1ea73e9ad9cc371991189ad7ce5e96264b573c7.zip
RustAndDust-c1ea73e9ad9cc371991189ad7ce5e96264b573c7.tar.gz
GameScreen: must now create the Config
Diffstat (limited to 'core/src/ch/asynk/tankontank/screens')
-rw-r--r--core/src/ch/asynk/tankontank/screens/GameScreen.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/screens/GameScreen.java b/core/src/ch/asynk/tankontank/screens/GameScreen.java
index 067a898..b778e78 100644
--- a/core/src/ch/asynk/tankontank/screens/GameScreen.java
+++ b/core/src/ch/asynk/tankontank/screens/GameScreen.java
@@ -26,6 +26,7 @@ import com.badlogic.gdx.utils.viewport.ScreenViewport;
import ch.asynk.tankontank.TankOnTank;
import ch.asynk.tankontank.game.Ctrl;
+import ch.asynk.tankontank.game.Config;
public class GameScreen implements Screen
{
@@ -61,7 +62,7 @@ public class GameScreen implements Screen
{
this.game = game;
- ctrl = new Ctrl(game);
+ this.ctrl = new Ctrl(game, new Config());
virtualWidth = ctrl.map.getWidth();
virtualHeight = ctrl.map.getHeight();