Finish basic ui binding to ruby
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ start_button = ElementText.new "Start Game", font: default_font, position: {x: 1
|
||||
game_scene = Scene.new
|
||||
|
||||
start_button.on_click do
|
||||
App.start game_scene
|
||||
App.switch_to game_scene
|
||||
end
|
||||
|
||||
menu_scene << start_button
|
||||
|
||||
Reference in New Issue
Block a user