added Tile constructor
This commit is contained in:
parent
120c459df9
commit
dbdcae7742
@ -6,6 +6,15 @@ public abstract class Tile {
|
|||||||
protected Map<Direction, Tile> adjacentTile;
|
protected Map<Direction, Tile> adjacentTile;
|
||||||
private Pickable itemOnTile;
|
private Pickable itemOnTile;
|
||||||
|
|
||||||
|
|
||||||
|
public Tile(){
|
||||||
|
Menu.addTab();
|
||||||
|
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Tile.Tile()");
|
||||||
|
itemOnTile = null;
|
||||||
|
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Tile.Tile()");
|
||||||
|
Menu.removeTab();
|
||||||
|
}
|
||||||
|
|
||||||
public Tile getAdjacentTile(Direction direction) {
|
public Tile getAdjacentTile(Direction direction) {
|
||||||
Menu.addTab();
|
Menu.addTab();
|
||||||
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Tile.getAdjacentTile(" + direction.name() + ")");
|
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Tile.getAdjacentTile(" + direction.name() + ")");
|
||||||
|
Loading…
Reference in New Issue
Block a user