added echoes to the Scale class
This commit is contained in:
parent
2afe3cda15
commit
a8ff7df705
@ -4,14 +4,26 @@ public class Scale extends Field {
|
||||
private Gate gateConnected;
|
||||
|
||||
public void onEntry() {
|
||||
Menu.addTab();
|
||||
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Scale.onEntry()");
|
||||
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Scale.onEntry()");
|
||||
Menu.removeTab();
|
||||
gateConnected.setOpen(true);
|
||||
}
|
||||
|
||||
public void onExit() {
|
||||
Menu.addTab();
|
||||
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Scale.onExit()");
|
||||
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Scale.onExit()");
|
||||
gateConnected.setOpen(false);
|
||||
Menu.removeTab();
|
||||
}
|
||||
|
||||
public void spawnStargate(cicaprojekt.Stargate stargate, Direction direction) {
|
||||
Menu.addTab();
|
||||
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Scale.spawnStarGate(stargate," + direction.name() + ")");
|
||||
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Scale.spawnStarGate()");
|
||||
adjacentTile.get(direction).spawnStargate(stargate, direction);
|
||||
Menu.removeTab();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user