Coerce bundle entities into a vector

This commit is contained in:
oakes
2014-06-20 17:11:37 -04:00
parent 380afd6598
commit 86345394ab

View File

@@ -17,7 +17,7 @@ override the equivalent keys in each entity when being drawn.
(assoc (bundle (shape :filled) (shape :line))
:x 100 :y 100)"
[& entities]
(BundleEntity. entities))
(BundleEntity. (vec entities)))
(defn bundle?
"Returns true if `entity` is a `bundle`."