summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/zproject/Board.java4
-rw-r--r--core/src/ch/asynk/zproject/Hud.java4
2 files changed, 4 insertions, 4 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);
}
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();