diff --git a/cicaprojekt/Tile.java b/cicaprojekt/Tile.java index 572000a..d6376d3 100644 --- a/cicaprojekt/Tile.java +++ b/cicaprojekt/Tile.java @@ -8,6 +8,7 @@ public abstract class Tile { protected Map adjacentTile; protected ZPM zpmOnTile; protected Stack boxStack; + protected int x, y; public Tile() { @@ -49,4 +50,9 @@ public abstract class Tile { return null; return boxStack.pop(); } + + @Override + public String toString() { + return String.format("%d, %d", x, y); + } }