Rearrange & setup
This commit is contained in:
+2
-4
@@ -1,4 +1,4 @@
|
||||
window = Window.new 400, 400, title: "Button Test"
|
||||
app = App.new 400, 400, title: "Button Test"
|
||||
|
||||
main_scene = Scene.new
|
||||
|
||||
@@ -18,6 +18,4 @@ end
|
||||
main_scene << text
|
||||
main_scene << rect
|
||||
|
||||
window.scenes[:main_scene] = main_scene
|
||||
|
||||
window.start :main_scene
|
||||
app.start main_scene
|
||||
Reference in New Issue
Block a user