Enhance game over scene: implement GameOver class with options for retry and main menu, add background image, and handle mouse and keyboard interactions.

This commit is contained in:
2026-04-02 15:33:50 +01:00
parent 32de437f86
commit db7c2aa7a2
12 changed files with 100 additions and 28 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
class Menu < Scene
OPTIONS = {
"Start" => -> { $bus.emit(:change_scene, Game.new) },
"Settings" => -> { $bus.emit(:change_scene, Settings.new) },
"Start" => -> { $bus.emit(:change_scene, Game) },
"Settings" => -> { $bus.emit(:change_scene, Settings) },
"Quit" => -> { $bus.emit(:quit_game) }
}.freeze