summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/zproject/screens
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2018-06-26 23:49:13 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2018-06-28 16:24:17 +0200
commit9f1745efc06f0bab5f65036058f071db570124b8 (patch)
tree05d93e683cc1ca42fcfe716532a6d5d621e021a1 /core/src/ch/asynk/zproject/screens
parentafa5db087cb0fc28223712cfc4ac4612504bdd69 (diff)
downloadgdx-boardgame-9f1745efc06f0bab5f65036058f071db570124b8.zip
gdx-boardgame-9f1745efc06f0bab5f65036058f071db570124b8.tar.gz
implement Assets
Diffstat (limited to 'core/src/ch/asynk/zproject/screens')
-rw-r--r--core/src/ch/asynk/zproject/screens/GameScreen.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/zproject/screens/GameScreen.java b/core/src/ch/asynk/zproject/screens/GameScreen.java
index 425c737..189219d 100644
--- a/core/src/ch/asynk/zproject/screens/GameScreen.java
+++ b/core/src/ch/asynk/zproject/screens/GameScreen.java
@@ -40,8 +40,8 @@ public class GameScreen implements Screen
public GameScreen(final ZProject zproject)
{
this.zproject = zproject;
- this.hud = new Hud();
- this.board = new Board();
+ this.hud = new Hud(zproject.assets);
+ this.board = new Board(zproject.assets);
this.batch = new SpriteBatch();
this.camera = new GameCamera(10, board.getWidth(), board.getHeight(), 1.0f, 0.3f, false);
Gdx.input.setInputProcessor(getMultiplexer());