Player class: changed ident to glorious 4spaces instead of tab, fixed order in methods
This commit is contained in:
parent
d60400b5f4
commit
f22e470d4d
@ -4,7 +4,6 @@ import java.util.List;
|
|||||||
|
|
||||||
public class Player extends PlayerBase{
|
public class Player extends PlayerBase{
|
||||||
private List<ZPM> zpmContainer;
|
private List<ZPM> zpmContainer;
|
||||||
|
|
||||||
private Box boxLifted;
|
private Box boxLifted;
|
||||||
|
|
||||||
|
|
||||||
@ -13,21 +12,18 @@ public class Player extends PlayerBase{
|
|||||||
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Player.Player(" + startTile + startDirection + ")");
|
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Player.Player(" + startTile + startDirection + ")");
|
||||||
currentTile = startTile;
|
currentTile = startTile;
|
||||||
facingDirection = startDirection; /* Be lehetne állítani egy defaultot is, nem tudom, mennyire kéne */
|
facingDirection = startDirection; /* Be lehetne állítani egy defaultot is, nem tudom, mennyire kéne */
|
||||||
|
|
||||||
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Player.Player()");
|
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Player.Player()");
|
||||||
Menu.removeTab();
|
Menu.removeTab();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void boxLift() {
|
public void boxLift() {
|
||||||
Menu.addTab();
|
Menu.addTab();
|
||||||
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Player.boxLift()");
|
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()");
|
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Player.boxLift()");
|
||||||
Menu.removeTab();
|
Menu.removeTab();
|
||||||
boxLifted = (Box) currentTile.getAdjacentTile(facingDirection).removeItemFromTile();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void boxDrop() {
|
public void boxDrop() {
|
||||||
Menu.addTab();
|
Menu.addTab();
|
||||||
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Player.boxDrop()");
|
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Player.boxDrop()");
|
||||||
|
Loading…
Reference in New Issue
Block a user