Fixed NPE in Tile

This commit is contained in:
Bokros Bálint 2016-04-26 00:35:03 +02:00
parent 9436508c60
commit 732d00bb23

View File

@ -14,6 +14,7 @@ public abstract class Tile {
public Tile() { public Tile() {
adjacentTile = new HashMap<Direction, Tile>(); adjacentTile = new HashMap<Direction, Tile>();
boxStack = new Stack<>();
} }
public int getX() { return this.x; } public int getX() { return this.x; }