From 7c2e3cb0b8ca6fe27a76d37ef9c8386e866718c5 Mon Sep 17 00:00:00 2001 From: oakes Date: Wed, 27 Aug 2014 15:36:33 -0400 Subject: [PATCH] Add back the calls to move --- TUTORIAL.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/TUTORIAL.md b/TUTORIAL.md index 4fc192e..7beb665 100644 --- a/TUTORIAL.md +++ b/TUTORIAL.md @@ -163,13 +163,13 @@ Now we can update our `:on-key-down` and `:on-touch-down` functions to move the (fn [screen entities] (cond (> (game :point-y) (* (game :height) (/ 2 3))) - (println "up") + (move (first entities) :up) (< (game :point-y) (/ (game :height) 3)) - (println "down") + (move (first entities) :down) (> (game :point-x) (* (game :width) (/ 2 3))) - (println "right") + (move (first entities) :right) (< (game :point-x) (/ (game :width) 3)) - (println "left"))) + (move (first entities) :left))) ``` ## Camera