From 8932480dbeacbded24501abbac3bf38e21209655 Mon Sep 17 00:00:00 2001 From: oakes Date: Sat, 10 May 2014 01:04:01 -0400 Subject: [PATCH] Mention :on-timer in the defscreen docstring --- src/play_clj/core.clj | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/play_clj/core.clj b/src/play_clj/core.clj index 520a71a..0a24fde 100644 --- a/src/play_clj/core.clj +++ b/src/play_clj/core.clj @@ -128,6 +128,10 @@ via the screen map. entities) :on-pause ; the screen paused (mobile only) (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)) ; input functions