added ONeill constructor

This commit is contained in:
muskenum 2016-03-29 02:33:16 +02:00 committed by Kjistóf
parent dbdcae7742
commit 127da96aea

View File

@ -10,6 +10,17 @@ public class ONeill implements Destroyable{
private Box boxLifted;
public ONeill(cicaprojekt.Tile startTile, Direction startDirection){
Menu.addTab();
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "ONeill.ONeill(" + startTile + startDirection + ")");
currentTile = startTile;
facingDirection = startDirection; /* Be lehetne állítani egy defaultot is, nem tudom, mennyire kéne */
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "ONeill.ONeill()");
Menu.removeTab();
}
public void destroy() {
Menu.addTab();
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "ONeill.destroy()");