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:
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user