Allow updating entities

This commit is contained in:
oakes
2013-12-29 15:46:04 -05:00
parent 30da6679cc
commit 788356b2df
2 changed files with 14 additions and 6 deletions

View File

@@ -65,6 +65,6 @@
(.begin batch)
(doseq [{:keys [image x y width height]} entities]
(when (and image x y width height)
(.draw batch image x y width height)))
(.draw batch image (float x) (float y) (float width) (float height))))
(.end batch)
batch)))