diff --git a/cicaprojekt/Scale.java b/cicaprojekt/Scale.java index 09e8460..b51ddd9 100644 --- a/cicaprojekt/Scale.java +++ b/cicaprojekt/Scale.java @@ -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()");