4
0

remove comments

This commit is contained in:
2025-12-11 18:03:09 +01:00
parent 3ead2b0ce0
commit 4d3349720c
20 changed files with 90 additions and 241 deletions

View File

@@ -1,6 +1,3 @@
--------------------------------------------------------------------------------
-- Main Game Loop
--------------------------------------------------------------------------------
local STATE_HANDLERS = {
[WINDOW_SPLASH] = function()
SplashWindow.update()
@@ -19,7 +16,7 @@ local STATE_HANDLERS = {
GameWindow.draw()
end,
[WINDOW_POPUP] = function()
GameWindow.draw() -- Draw game behind dialog
GameWindow.draw()
PopupWindow.update()
PopupWindow.draw()
end,
@@ -28,7 +25,7 @@ local STATE_HANDLERS = {
InventoryWindow.draw()
end,
[WINDOW_INVENTORY_ACTION] = function()
InventoryWindow.draw() -- Draw inventory behind dialog
InventoryWindow.draw()
PopupWindow.draw()
PopupWindow.update()
end,