Rearrange & setup

This commit is contained in:
2026-05-03 23:00:41 +01:00
parent f953f72322
commit 9e85763f9e
12 changed files with 125 additions and 28 deletions
+2 -4
View File
@@ -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