summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/zproject/Board.java
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2018-09-11 20:02:44 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2018-09-11 20:02:44 +0200
commit5b89e9ad75e72016a4ec5c7d7c59e5ed557e60e7 (patch)
treedd076e372c1cefe92630791c5d014a45db7c8572 /core/src/ch/asynk/zproject/Board.java
parentde8b651b8d3b8f22d8bbad1a968d2e2a2ca14f36 (diff)
downloadgdx-boardgame-5b89e9ad75e72016a4ec5c7d7c59e5ed557e60e7.zip
gdx-boardgame-5b89e9ad75e72016a4ec5c7d7c59e5ed557e60e7.tar.gz
Hud -> GameHud, Board -> GameBoard
Diffstat (limited to 'core/src/ch/asynk/zproject/Board.java')
-rw-r--r--core/src/ch/asynk/zproject/Board.java43
1 files changed, 0 insertions, 43 deletions
diff --git a/core/src/ch/asynk/zproject/Board.java b/core/src/ch/asynk/zproject/Board.java
deleted file mode 100644
index b7e20b8..0000000
--- a/core/src/ch/asynk/zproject/Board.java
+++ /dev/null
@@ -1,43 +0,0 @@
-package ch.asynk.zproject;
-
-import com.badlogic.gdx.graphics.g2d.Batch;
-import com.badlogic.gdx.graphics.Texture;
-import com.badlogic.gdx.utils.Disposable;
-
-import ch.asynk.zproject.engine.Touchable;
-
-public class Board implements Disposable, Touchable
-{
- private final Texture map;
-
- public Board(final Assets assets)
- {
- this.map = assets.getTexture(assets.MAP_00);
- }
-
- @Override public void dispose()
- {
- map.dispose();
- }
-
- @Override public boolean touch(float x, float y)
- {
- ZProject.debug("Board", String.format("touchDown : %f %f", x, y));
- return true;
- }
-
- public int getWidth()
- {
- return map.getWidth();
- }
-
- public int getHeight()
- {
- return map.getHeight();
- }
-
- public void draw(Batch batch)
- {
- batch.draw(map, 0, 0);
- }
-}