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