     (println "Entity with name" (:name entity)
              "has position:" (:position (utils/find-component :positionable entity)))))
 
-(defn entity-dimentions
-  [e]
-  (let [boundable (utils/find-component :boundable e)
-        positionable (utils/find-component :positionable e)
-        [px py] (:position positionable)
-        bounds (:bounds boundable)
-        canvas (:canvas @game-state)
-        width (.-width canvas)
-        height (.-height canvas)
-        [w h] (absolute-bounds bounds width height)
-        [x y] [(int (* width (/ px 100)))
-               (int (* height (/ py 100)))]]
-    [x y w h]))
-
 (defn get-entities
   []
   (println (:entities @game-state)))

  (doseq [entity (sort-by z-order
                          (:entities @game-state))]
    (println entity)))

(defn keyboard-handler
  [event]

(defn new-owl
  [position]
   [:owl {:position position :bounds [48 48]
          :weapons {:laser {:every 10000}}
          :trigger {:action :release
                    :proximity 50}}])

(def new-game-entities
  [[:background {:color "#33CC00"}]
