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

@@ -269,6 +269,7 @@ public class GamePanel extends JPanel implements Runnable {
public void resetGame(boolean restart) {
player.setDefaultPositions();
player.restoreStatus();
player.resetCounter();
assetSetter.setNPC();
assetSetter.setMonster();