Added hasBox to Player
This commit is contained in:
		@@ -13,6 +13,10 @@ public class Player extends PlayerBase {
 | 
				
			|||||||
        zpmContainer = new ArrayList<>();
 | 
					        zpmContainer = new ArrayList<>();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    public boolean hasBox() {
 | 
				
			||||||
 | 
					        return (boxLifted != null);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public void boxLift() {
 | 
					    public void boxLift() {
 | 
				
			||||||
        boxLifted = (Box) currentTile.getAdjacentTile(facingDirection).getABox();
 | 
					        boxLifted = (Box) currentTile.getAdjacentTile(facingDirection).getABox();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user