fixed echoes in the Field class
This commit is contained in:
parent
5f56ed4062
commit
0bd209e1f5
@ -4,11 +4,25 @@ public class Field extends cicaprojekt.Tile
|
||||
{
|
||||
@Override
|
||||
public void spawnStargate(cicaprojekt.Stargate stargate, Direction direction) {
|
||||
Menu.addTab();
|
||||
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Field.spawnStargate(Stargate stargate, Direction direction)");
|
||||
adjacentTile.get(direction).spawnStargate(stargate, direction);
|
||||
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Field.spawnStargate(Stargate stargate, Direction direction)");
|
||||
Menu.removeTab();
|
||||
}
|
||||
|
||||
public void onEntry() {}
|
||||
public void onEntry() {
|
||||
Menu.addTab();
|
||||
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Field.onEntry()");
|
||||
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Field.onEntry()");
|
||||
Menu.removeTab();
|
||||
}
|
||||
|
||||
public void onExit() {}
|
||||
public void onExit() {
|
||||
Menu.addTab();
|
||||
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Field.onExit()");
|
||||
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Field.onExit()");
|
||||
Menu.removeTab();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user