Measurable interface implemented

Method int weight() overridden, the return value is 0.
This commit is contained in:
ericnerdo 2016-04-22 10:43:45 +02:00
parent d1d6e8b725
commit 19aad35791

View File

@ -19,4 +19,13 @@ public class ZPM implements Pickable
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "ZPM.destroy()");
Menu.removeTab();
}
@Override
public int weight() {
Menu.addTab();
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "ZPM.weight()");
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "ZPM.weight()");
Menu.removeTab();
return 0;
}
}