added Scale constructor
This commit is contained in:
parent
127da96aea
commit
562015b7ab
@ -3,6 +3,15 @@ package cicaprojekt;
|
|||||||
public class Scale extends Field {
|
public class Scale extends Field {
|
||||||
private Gate gateConnected;
|
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() {
|
public void onEntry() {
|
||||||
Menu.addTab();
|
Menu.addTab();
|
||||||
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Scale.onEntry()");
|
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Scale.onEntry()");
|
||||||
|
Loading…
Reference in New Issue
Block a user