Mention :on-timer in the defscreen docstring
This commit is contained in:
@@ -128,6 +128,10 @@ via the screen map.
|
|||||||
entities)
|
entities)
|
||||||
:on-pause ; the screen paused (mobile only)
|
:on-pause ; the screen paused (mobile only)
|
||||||
(fn [screen entities]
|
(fn [screen entities]
|
||||||
|
entities)
|
||||||
|
:on-timer ; a timer created with add-timer! executed
|
||||||
|
(fn [screen entities]
|
||||||
|
(println (:id screen)) ; the id supplied when the timer was created
|
||||||
entities))
|
entities))
|
||||||
|
|
||||||
; input functions
|
; input functions
|
||||||
|
|||||||
Reference in New Issue
Block a user