Fixed NPE in Tile
This commit is contained in:
		| @@ -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; } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user