reduced hitbox and started with objects
This commit is contained in:
@@ -25,10 +25,10 @@ public class Player extends Entity {
|
||||
screenY = panel.screenHeight/2 - panel.tileSize/2;
|
||||
|
||||
solidArea = new Rectangle();
|
||||
solidArea.x = 9;
|
||||
solidArea.y = 18;
|
||||
solidArea.width = 32;
|
||||
solidArea.height = 32;
|
||||
solidArea.x = 12;
|
||||
solidArea.y = 20;
|
||||
solidArea.width = 24;
|
||||
solidArea.height = 24;
|
||||
|
||||
setDefaultValues();
|
||||
getPlayerImage();
|
||||
|
||||
Reference in New Issue
Block a user