diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2020-07-12 17:07:26 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2020-07-12 17:07:26 +0200 |
commit | cb396f3541e4dd1734ec56506abfa47a6b143848 (patch) | |
tree | 6558f282b541a940aa7ba08d99c3e7c1f46b8a7e | |
parent | 0fcdc724db59ea3c1c3357d320ce745a2ca44f2f (diff) | |
download | gdx-boardgame-cb396f3541e4dd1734ec56506abfa47a6b143848.zip gdx-boardgame-cb396f3541e4dd1734ec56506abfa47a6b143848.tar.gz |
Tile : print int instead of floats
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/Tile.java | 2 |
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) |