Remove unnecessary function
This commit is contained in:
@@ -21,15 +21,11 @@
|
|||||||
|
|
||||||
(defmethod create-entity TextureRegion
|
(defmethod create-entity TextureRegion
|
||||||
[obj]
|
[obj]
|
||||||
{:type :image :object obj :x 0 :y 0})
|
{:type :image :object obj})
|
||||||
|
|
||||||
(defmethod create-entity Actor
|
(defmethod create-entity Actor
|
||||||
[obj]
|
[obj]
|
||||||
{:type :actor :object obj :x 0 :y 0})
|
{:type :actor :object obj})
|
||||||
|
|
||||||
(defn replace-entity
|
|
||||||
[old-entity new-entity]
|
|
||||||
(assoc old-entity :object (:object new-entity)))
|
|
||||||
|
|
||||||
(load "core_2d")
|
(load "core_2d")
|
||||||
(load "core_global")
|
(load "core_global")
|
||||||
|
|||||||
Reference in New Issue
Block a user