Fixed NPE in Tile
This commit is contained in:
parent
9436508c60
commit
732d00bb23
@ -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; }
|
||||||
|
Loading…
Reference in New Issue
Block a user