diff --git a/cicaprojekt/Wall.java b/cicaprojekt/Wall.java index a46f031..04c3692 100644 --- a/cicaprojekt/Wall.java +++ b/cicaprojekt/Wall.java @@ -5,6 +5,10 @@ public class Wall extends Tile { private Stargate sg; public void spawnStargate(Stargate stargate, Direction direction) { + System.out.println("[" + ":" + this.getClass().getSimpleName() + + "]" + ">" + Menu.tabulator + "Wall.spawnStargate(stargate," + direction.name() + ")"); + System.out.println("[" + ":" + this.getClass().getSimpleName() + + "]" + "<" + Menu.tabulator + "Wall.spawnStargate()"); if(sg == null) sg = stargate; else return; @@ -14,8 +18,16 @@ public class Wall extends Tile { sg = null; } - public void onEntry() { } + public void onEntry() + { + System.out.println("[" + ":" + this.getClass().getSimpleName() + "]" + ">" + Menu.tabulator + "Wall.onEntry()"); + System.out.println("[" + ":" + this.getClass().getSimpleName() + "]" + "<" + Menu.tabulator + "Wall.onEntry()"); + } - public void onExit() {} + public void onExit() + { + System.out.println("[" + ":" + this.getClass().getSimpleName() + "]" + ">" + Menu.tabulator + "Wall.onExit()"); + System.out.println("[" + ":" + this.getClass().getSimpleName() + "]" + "<" + Menu.tabulator + "Wall.onExit()"); + } } diff --git a/cicaprojekt/ZPM.java b/cicaprojekt/ZPM.java index f0fe9d5..cbad680 100644 --- a/cicaprojekt/ZPM.java +++ b/cicaprojekt/ZPM.java @@ -3,6 +3,10 @@ package cicaprojekt; public class ZPM implements cicaprojekt.Pickable { - public void pick() {} + public void pick() + { + System.out.println("[" + ":" + this.getClass().getSimpleName() + "]" + ">" + Menu.tabulator + "ZPM.pick()"); + System.out.println("[" + ":" + this.getClass().getSimpleName() + "]" + "<" + Menu.tabulator + "ZPM.pick()"); + } }