Mention input->screen in docstring
This commit is contained in:
@@ -148,6 +148,7 @@ via the screen map.
|
|||||||
entities))
|
entities))
|
||||||
|
|
||||||
; input functions
|
; input functions
|
||||||
|
; Tip: convert :input-x and :input-y to screen coordinates with input->screen
|
||||||
(defscreen my-screen
|
(defscreen my-screen
|
||||||
:on-key-down ; a key was pressed
|
:on-key-down ; a key was pressed
|
||||||
(fn [screen entities]
|
(fn [screen entities]
|
||||||
|
|||||||
Reference in New Issue
Block a user