added Scale constructor

This commit is contained in:
muskenum 2016-03-29 02:38:21 +02:00 committed by Kjistóf
parent 127da96aea
commit 562015b7ab

View File

@ -3,6 +3,15 @@ package cicaprojekt;
public class Scale extends Field {
private Gate gateConnected;
public Scale(Gate gate){
Menu.addTab();
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Scale.Scale(" + gate + ")");
gateConnected = gate;
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Scale.Scale()");
Menu.removeTab();
}
public void onEntry() {
Menu.addTab();
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Scale.onEntry()");