diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2018-10-04 12:43:36 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2018-10-04 12:43:36 +0200 |
commit | 88238ad5c3181d008e64c0a80eb144a4b405d8be (patch) | |
tree | c03cf02ed9e5c67421ad9c03c97434fa9d09a45c /test/src/ch/asynk/gdx/boardgame/test/BoardScreen.java | |
parent | 6445bd449025a979f436382da90303de3a985d71 (diff) | |
download | gdx-boardgame-88238ad5c3181d008e64c0a80eb144a4b405d8be.zip gdx-boardgame-88238ad5c3181d008e64c0a80eb144a4b405d8be.tar.gz |
AbstractScreen : get rid of feed()
Diffstat (limited to 'test/src/ch/asynk/gdx/boardgame/test/BoardScreen.java')
-rw-r--r-- | test/src/ch/asynk/gdx/boardgame/test/BoardScreen.java | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/test/src/ch/asynk/gdx/boardgame/test/BoardScreen.java b/test/src/ch/asynk/gdx/boardgame/test/BoardScreen.java index 876c2e8..0d7c9fc 100644 --- a/test/src/ch/asynk/gdx/boardgame/test/BoardScreen.java +++ b/test/src/ch/asynk/gdx/boardgame/test/BoardScreen.java @@ -137,18 +137,14 @@ public class BoardScreen extends AbstractScreen } private State state; - private Camera cam; - private MyBoard board; - private Button btn; - private Root root; + private final Camera cam; + private final MyBoard board; + private final Button btn; + private final Root root; public BoardScreen(final GdxBoardTest app) { super(app, ""); - } - - @Override protected void feed() - { this.board = new MyBoard(app.assets); this.camera = this.cam = new Camera(10, board.w, board.h, 1.0f, 0.3f, false); this.btn = new Button( |