add resetCounter method to player entity and integrate into game reset
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user