Don't pre-set any values in texture entities

This commit is contained in:
oakes
2014-01-19 17:05:17 -05:00
parent f582f18392
commit dc68f7510e
2 changed files with 8 additions and 8 deletions

View File

@@ -137,11 +137,8 @@
(defmulti create-entity class)
(defmethod create-entity TextureRegion
[^TextureRegion obj]
{:type :texture
:object obj
:width (.getRegionWidth obj)
:height (.getRegionHeight obj)})
[obj]
{:type :texture :object obj})
(defmethod create-entity Actor
[obj]