summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/zproject/Hud.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/Hud.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/Hud.java')
-rw-r--r--core/src/ch/asynk/zproject/Hud.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/zproject/Hud.java b/core/src/ch/asynk/zproject/Hud.java
index 4614cd4..b1cf5ea 100644
--- a/core/src/ch/asynk/zproject/Hud.java
+++ b/core/src/ch/asynk/zproject/Hud.java
@@ -1,9 +1,9 @@
package ch.asynk.zproject;
+import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.GlyphLayout;
import com.badlogic.gdx.graphics.g2d.Sprite;
-import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.math.Rectangle;
import com.badlogic.gdx.utils.Disposable;
@@ -28,7 +28,7 @@ public class Hud implements Disposable
hud.getTexture().dispose();
}
- public void draw(SpriteBatch batch, final Rectangle rect)
+ public void draw(Batch batch, final Rectangle rect)
{
float right = rect.x + rect.width - hud.getWidth();
float top = rect.y + rect.height - hud.getHeight();