Simplify show method
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
:on-show
|
||||
(fn [screen entities]
|
||||
(update! screen :renderer (stage))
|
||||
(conj entities (label "Hello world!" (color :white))))
|
||||
(label "Hello world!" (color :white)))
|
||||
:on-render
|
||||
(fn [screen entities]
|
||||
(clear!)
|
||||
|
||||
Reference in New Issue
Block a user