summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/zproject/Board.java
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2018-06-27 10:15:16 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2018-06-28 16:25:11 +0200
commit7e8eda722a5e783c773b6a7167d5672a24cfea79 (patch)
treee041ab5391cf01d00ce8471430b0030eba33842e /core/src/ch/asynk/zproject/Board.java
parent357bb12eef425ae91a1055f60f788a450f965fb0 (diff)
downloadgdx-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.java4
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);
}