From 7c5d7985e32dd43c09b137e28b927c22b9e1f0df Mon Sep 17 00:00:00 2001 From: oakes Date: Thu, 6 Nov 2014 13:08:08 -0500 Subject: [PATCH] Mention (game :x) and (game :y) in defscreen docstring --- src/play_clj/core.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/play_clj/core.clj b/src/play_clj/core.clj index a079f36..f37e357 100644 --- a/src/play_clj/core.clj +++ b/src/play_clj/core.clj @@ -172,7 +172,8 @@ via the screen map. entities)) ; input functions - ; Tip: convert :input-x and :input-y to screen coordinates with input->screen + ; Tip: convert :input-x and :input-y to screen coordinates with input->screen, + ; or just use (game :x) and (game :y) instead (defscreen my-screen ; a key was pressed :on-key-down