Player class: changed ident to glorious 4spaces instead of tab, fixed order in methods

This commit is contained in:
Kjistóf 2016-04-23 13:19:55 +02:00
parent d60400b5f4
commit f22e470d4d

View File

@ -4,7 +4,6 @@ import java.util.List;
public class Player extends PlayerBase{
private List<ZPM> zpmContainer;
private Box boxLifted;
@ -13,21 +12,18 @@ public class Player extends PlayerBase{
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Player.Player(" + 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 + "Player.Player()");
Menu.removeTab();
}
public void boxLift() {
Menu.addTab();
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Player.boxLift()");
boxLifted = (Box) currentTile.getAdjacentTile(facingDirection).removeItemFromTile();
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Player.boxLift()");
Menu.removeTab();
boxLifted = (Box) currentTile.getAdjacentTile(facingDirection).removeItemFromTile();
}
public void boxDrop() {
Menu.addTab();
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Player.boxDrop()");