diff --git a/cicaprojekt/Tile.java b/cicaprojekt/Tile.java index 2bf772a..b5ad1a3 100644 --- a/cicaprojekt/Tile.java +++ b/cicaprojekt/Tile.java @@ -6,6 +6,15 @@ public abstract class Tile { protected Map adjacentTile; 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) { Menu.addTab(); System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Tile.getAdjacentTile(" + direction.name() + ")");