fixed echos in the Box class

This commit is contained in:
Kjistóf 2016-03-28 23:09:01 +02:00
parent 3262a0fa36
commit da86d11f16
1 changed files with 6 additions and 2 deletions

View File

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