added ONeill constructor
This commit is contained in:
parent
dbdcae7742
commit
127da96aea
@ -10,6 +10,17 @@ public class ONeill implements Destroyable{
|
|||||||
private Box boxLifted;
|
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() {
|
public void destroy() {
|
||||||
Menu.addTab();
|
Menu.addTab();
|
||||||
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "ONeill.destroy()");
|
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "ONeill.destroy()");
|
||||||
|
Loading…
Reference in New Issue
Block a user