summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/gdx/boardgame/Tile.java
blob: ae0bb70f27cce1dde139b158fdbdc58b07ac34ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package ch.asynk.gdx.boardgame;

public class Tile
{
    public float x;
    public float y;

    public Tile(float x, float y)
    {
        this.x = x;
        this.y = y;
    }

    @Override public String toString()
    {
        return String.format("[%4d, %4d]", (int)x, (int)y);
    }
}