removed terrible abusion of underscore paradigm in Scale ctor.

This commit is contained in:
Kjistóf 2016-04-23 13:24:26 +02:00
parent f22e470d4d
commit 1f2903272e

View File

@ -8,11 +8,11 @@ public class Scale extends Field {
private int threshold; private int threshold;
private int weight; private int weight;
public Scale(Gate gate, int _threshold){ public Scale(Gate gate, int threshold){
Menu.addTab(); Menu.addTab();
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Scale.Scale(" + gate + ")"); System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Scale.Scale(" + gate + ")");
gateConnected = gate; gateConnected = gate;
threshold = _threshold; this.threshold = threshold;
itemsOnTile = new Stack<Pickable>(); itemsOnTile = new Stack<Pickable>();
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Scale.Scale()"); System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Scale.Scale()");
Menu.removeTab(); Menu.removeTab();