summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/zproject/Board.java
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2018-07-06 12:14:41 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2018-07-06 12:14:41 +0200
commit21405a878478592281e077981c2d155b2c5af36f (patch)
tree731545c583b0bf4da426098c63b215603d5ed1dc /core/src/ch/asynk/zproject/Board.java
parentc4f8ea5d16db402dd300d22b5e4795586068204c (diff)
downloadgdx-boardgame-21405a878478592281e077981c2d155b2c5af36f.zip
gdx-boardgame-21405a878478592281e077981c2d155b2c5af36f.tar.gz
GameScreen : do not pass a Rectangle on draw, use resize if needed
Diffstat (limited to 'core/src/ch/asynk/zproject/Board.java')
-rw-r--r--core/src/ch/asynk/zproject/Board.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/src/ch/asynk/zproject/Board.java b/core/src/ch/asynk/zproject/Board.java
index a9b52fa..22b7e74 100644
--- a/core/src/ch/asynk/zproject/Board.java
+++ b/core/src/ch/asynk/zproject/Board.java
@@ -2,7 +2,6 @@ package ch.asynk.zproject;
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;
public class Board implements Disposable
@@ -29,7 +28,7 @@ public class Board implements Disposable
return map.getHeight();
}
- public void draw(Batch batch, Rectangle viewPort)
+ public void draw(Batch batch)
{
batch.draw(map, 0, 0);
}