diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2018-06-27 10:15:16 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2018-06-28 16:25:11 +0200 |
commit | 7e8eda722a5e783c773b6a7167d5672a24cfea79 (patch) | |
tree | e041ab5391cf01d00ce8471430b0030eba33842e /core/src/ch/asynk/zproject/Board.java | |
parent | 357bb12eef425ae91a1055f60f788a450f965fb0 (diff) | |
download | gdx-boardgame-7e8eda722a5e783c773b6a7167d5672a24cfea79.zip gdx-boardgame-7e8eda722a5e783c773b6a7167d5672a24cfea79.tar.gz |
Hud and Board use Batch interface instead of SpriteBatch
Diffstat (limited to 'core/src/ch/asynk/zproject/Board.java')
-rw-r--r-- | core/src/ch/asynk/zproject/Board.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/zproject/Board.java b/core/src/ch/asynk/zproject/Board.java index 0e4cfb9..a9b52fa 100644 --- a/core/src/ch/asynk/zproject/Board.java +++ b/core/src/ch/asynk/zproject/Board.java @@ -1,6 +1,6 @@ package ch.asynk.zproject; -import com.badlogic.gdx.graphics.g2d.SpriteBatch; +import com.badlogic.gdx.graphics.g2d.Batch; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.math.Rectangle; import com.badlogic.gdx.utils.Disposable; @@ -29,7 +29,7 @@ public class Board implements Disposable return map.getHeight(); } - public void draw(SpriteBatch batch, Rectangle viewPort) + public void draw(Batch batch, Rectangle viewPort) { batch.draw(map, 0, 0); } |