add resetCounter method to player entity and integrate into game reset

This commit is contained in:
2026-03-23 19:34:24 +01:00
parent 70a250f775
commit 04c5192e0e
3 changed files with 11 additions and 0 deletions

View File

@@ -313,6 +313,7 @@ public class Player extends Entity {
}
public void restoreStatus() {
life = maxLife;
speed = defaultSpeed;
invincible = false;
transparent = false;
attacking = false;