diff --git a/cicaprojekt/Scale.java b/cicaprojekt/Scale.java index 1dfb422..6c2b9ba 100644 --- a/cicaprojekt/Scale.java +++ b/cicaprojekt/Scale.java @@ -8,11 +8,11 @@ public class Scale extends Field { private int threshold; private int weight; - public Scale(Gate gate, int _threshold){ + public Scale(Gate gate, int threshold){ Menu.addTab(); System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Scale.Scale(" + gate + ")"); gateConnected = gate; - threshold = _threshold; + this.threshold = threshold; itemsOnTile = new Stack(); System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Scale.Scale()"); Menu.removeTab();