refactored reset game

This commit is contained in:
2025-12-16 13:57:52 +01:00
parent ce3f590715
commit 54a2ee3022
5 changed files with 20 additions and 10 deletions

View File

@@ -736,6 +736,7 @@ public class UI {
if(commandNum == 1) {
graphics2d.drawString(">", textX-25, textY);
if(panel.keyH.spacePressed) optionState = OptionState.OVERVIEW;
panel.resetGame(true);
}
}