fixed echos in ZPM and Wall classes
This commit is contained in:
parent
1c5391422a
commit
3262a0fa36
@ -5,10 +5,12 @@ public class Wall extends Tile {
|
|||||||
private Stargate sg;
|
private Stargate sg;
|
||||||
|
|
||||||
public void spawnStargate(Stargate stargate, Direction direction) {
|
public void spawnStargate(Stargate stargate, Direction direction) {
|
||||||
System.out.println("[" + ":" + this.getClass().getSimpleName() +
|
Menu.addTab();
|
||||||
"]" + ">" + Menu.tabulator + "Wall.spawnStargate(stargate," + direction.name() + ")");
|
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() +
|
||||||
System.out.println("[" + ":" + this.getClass().getSimpleName() +
|
"]" + Menu.tabulator + "Wall.spawnStargate(stargate," + direction.name() + ")");
|
||||||
"]" + "<" + Menu.tabulator + "Wall.spawnStargate()");
|
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() +
|
||||||
|
"]" + Menu.tabulator + "Wall.spawnStargate()");
|
||||||
|
Menu.removeTab();
|
||||||
if(sg == null)
|
if(sg == null)
|
||||||
sg = stargate;
|
sg = stargate;
|
||||||
else return;
|
else return;
|
||||||
@ -20,14 +22,18 @@ public class Wall extends Tile {
|
|||||||
|
|
||||||
public void onEntry()
|
public void onEntry()
|
||||||
{
|
{
|
||||||
System.out.println("[" + ":" + this.getClass().getSimpleName() + "]" + ">" + Menu.tabulator + "Wall.onEntry()");
|
Menu.addTab();
|
||||||
System.out.println("[" + ":" + this.getClass().getSimpleName() + "]" + "<" + Menu.tabulator + "Wall.onEntry()");
|
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Wall.onEntry()");
|
||||||
|
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Wall.onEntry()");
|
||||||
|
Menu.removeTab();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onExit()
|
public void onExit()
|
||||||
{
|
{
|
||||||
System.out.println("[" + ":" + this.getClass().getSimpleName() + "]" + ">" + Menu.tabulator + "Wall.onExit()");
|
Menu.addTab();
|
||||||
System.out.println("[" + ":" + this.getClass().getSimpleName() + "]" + "<" + Menu.tabulator + "Wall.onExit()");
|
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Wall.onExit()");
|
||||||
|
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Wall.onExit()");
|
||||||
|
Menu.removeTab();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -5,8 +5,10 @@ public class ZPM implements cicaprojekt.Pickable
|
|||||||
|
|
||||||
public void pick()
|
public void pick()
|
||||||
{
|
{
|
||||||
System.out.println("[" + ":" + this.getClass().getSimpleName() + "]" + ">" + Menu.tabulator + "ZPM.pick()");
|
Menu.addTab();
|
||||||
System.out.println("[" + ":" + this.getClass().getSimpleName() + "]" + "<" + Menu.tabulator + "ZPM.pick()");
|
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "ZPM.pick()");
|
||||||
|
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "ZPM.pick()");
|
||||||
|
Menu.removeTab();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user