added echoes to the Stargate class

This commit is contained in:
hegedusfanni 2016-03-29 02:02:28 +02:00 committed by Kjistóf
parent 0bd209e1f5
commit 50456d092a

View File

@ -10,19 +10,41 @@ public class Stargate {
private cicaprojekt.Wall currentWall; private cicaprojekt.Wall currentWall;
public static void init() {} public static void init() {
Menu.addTab();
System.out.println(">" + "[" + ":" + "Stargate" + "]" + Menu.tabulator + "Stargate.init()");
System.out.println("<" + "[" + ":" + "Stargate" + "]" + Menu.tabulator + "Stargate.init()");
Menu.removeTab();
}
public cicaprojekt.Wall getCurrentWall() { public cicaprojekt.Wall getCurrentWall() {
Menu.addTab();
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Stargate.getCurrentWall()");
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Stargate.getCurrentWall()");
Menu.removeTab();
return currentWall; return currentWall;
} }
public void setCurrentWall(cicaprojekt.Wall wall) { public void setCurrentWall(cicaprojekt.Wall wall) {
Menu.addTab();
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Stargate.setCurrentWall(" + wall.name() + ")");
currentWall = wall; currentWall = wall;
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Stargate.setCurrentWall(" + wall.name() + ")");
Menu.removeTab();
} }
public boolean isOpen() { public boolean isOpen() {
Menu.addTab();
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Stargate.isOpen()");
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Stargate.isOpen()");
Menu.removeTab();
return isSpawned; return isSpawned;
} }
public void teleport(Direction incomingDirection) {} public void teleport(Direction incomingDirection) {
Menu.addTab();
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Stargate.teleport(" + incomingDirection.name() + ")");
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Stargate.teleport(" + incomingDirection.name() + ")");
Menu.removeTab();
}
} }