added display for player stats
This commit is contained in:
@@ -88,14 +88,11 @@ public class Player extends Entity {
|
||||
}
|
||||
}
|
||||
|
||||
System.out.println("cancel: "+attackCancel);
|
||||
if(keyH.spacePressed && !attackCancel) {
|
||||
System.out.println("entered");
|
||||
panel.playSE(7);
|
||||
attacking = true;
|
||||
spriteCounter = 0;
|
||||
}
|
||||
System.out.println("attacking: "+attacking);
|
||||
|
||||
attackCancel = false;
|
||||
panel.keyH.spacePressed = false;
|
||||
|
||||
Reference in New Issue
Block a user