Refactor event bus to use non-retrievable events;

update collision handling and add new inventory initialization;
add torch lighting in fog shader;
This commit is contained in:
2026-03-28 11:38:20 +00:00
parent 15c457e7a6
commit bf93aecad1
14 changed files with 150 additions and 60 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ class Window < Gosu::Window
$bus.on(:quit_game) { close! }
$bus.on_retrievable(:mouse_pos) do
$bus.on(:mouse_pos) do
next mouse_relative(mouse_x, mouse_y)
end