fixed echoes in the Box class

Hiányzott még két sysout, meg az egyik addTab helyett remove volt, ezek lettek javítva.
This commit is contained in:
muskenum 2016-03-29 01:43:30 +02:00 committed by Kjistóf
parent 3a975047c4
commit 79bd5062ec
1 changed files with 3 additions and 1 deletions

View File

@ -6,12 +6,14 @@ public class Box implements cicaprojekt.Pickable, cicaprojekt.Destroyable
public void destroy() {
Menu.addTab();
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Box.destroy()");
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Box.destroy()");
Menu.removeTab();
}
public void pick() {
Menu.removeTab();
Menu.addTab();
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Box.pick()");
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Box.pick()");
Menu.removeTab();
}