refact by claude
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful

This commit is contained in:
Zsolt Tasnadi
2026-02-23 10:22:41 +01:00
parent 272a54ea87
commit 7deeffa8d6
20 changed files with 85 additions and 77 deletions

View File

@@ -21,17 +21,20 @@ end
--- Starts a new game from the menu.
function MenuWindow.new_game()
Context.new_game() GameWindow.set_state("game")
Context.new_game()
GameWindow.set_state("game")
end
--- Loads a game from the menu.
function MenuWindow.load_game()
Context.load_game() GameWindow.set_state("game")
Context.load_game()
GameWindow.set_state("game")
end
--- Saves the current game from the menu.
function MenuWindow.save_game()
Context.save_game() end
Context.save_game()
end
--- Resumes the game from the menu.
function MenuWindow.resume_game()