diff --git a/src/play_clj/core_graphics.clj b/src/play_clj/core_graphics.clj index dff9515..96fc543 100644 --- a/src/play_clj/core_graphics.clj +++ b/src/play_clj/core_graphics.clj @@ -173,6 +173,8 @@ (defmulti draw-entity! #(-> % second :type)) +(defmethod draw-entity! nil [_]) + (defmethod draw-entity! :actor [[^SpriteBatch batch {:keys [^Actor object] :as entity}]] (assert object)