summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/gdx/boardgame
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2020-07-12 17:07:26 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2020-07-12 17:07:26 +0200
commitcb396f3541e4dd1734ec56506abfa47a6b143848 (patch)
tree6558f282b541a940aa7ba08d99c3e7c1f46b8a7e /core/src/ch/asynk/gdx/boardgame
parent0fcdc724db59ea3c1c3357d320ce745a2ca44f2f (diff)
downloadgdx-boardgame-cb396f3541e4dd1734ec56506abfa47a6b143848.zip
gdx-boardgame-cb396f3541e4dd1734ec56506abfa47a6b143848.tar.gz
Tile : print int instead of floats
Diffstat (limited to 'core/src/ch/asynk/gdx/boardgame')
-rw-r--r--core/src/ch/asynk/gdx/boardgame/Tile.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/Tile.java b/core/src/ch/asynk/gdx/boardgame/Tile.java
index b55a807..cb65a17 100644
--- a/core/src/ch/asynk/gdx/boardgame/Tile.java
+++ b/core/src/ch/asynk/gdx/boardgame/Tile.java
@@ -96,7 +96,7 @@ public class Tile implements Drawable
@Override public String toString()
{
- return "[" + x + ", " + y + "] => [" + cx + "," + cy + "]";
+ return "[" + x + ";" + y + "] => [" + (int)cx + ";" + (int)cy + "]";
}
@Override public void draw(Batch batch)