4
0

configuration window

This commit is contained in:
2025-12-11 18:42:38 +01:00
parent 755b648280
commit 1913d7d7d4
8 changed files with 117 additions and 2 deletions

View File

@@ -29,8 +29,14 @@ function MenuWindow.exit()
exit()
end
function MenuWindow.configuration()
ConfigurationWindow.init()
GameWindow.set_state(WINDOW_CONFIGURATION)
end
-- Initialize menu items after actions are defined
Context.menu_items = {
{label = "Play", action = MenuWindow.play},
{label = "Configuration", action = MenuWindow.configuration},
{label = "Exit", action = MenuWindow.exit}
}