Start of making the sheep interactable.
This commit is contained in:
@@ -83,8 +83,7 @@
|
||||
|
||||
(done? [this screen entities]
|
||||
(let [{from-x :x from-y :y :keys [left right anim] :as target-entity} (entities target-id)]
|
||||
(println final-x final-y from-x from-y (dist final-x final-y from-x from-y))
|
||||
(doto (< (dist final-x final-y from-x from-y) 1) println)))
|
||||
(< (dist final-x final-y from-x from-y) 1)))
|
||||
|
||||
(terminate [this screen entities]
|
||||
(let [entities (stop screen entities target-id)]
|
||||
|
||||
Reference in New Issue
Block a user