Fix gdx-field and improve comments

This commit is contained in:
oakes
2014-02-12 23:20:46 -05:00
parent 6666c854c6
commit d6372ffdd9
4 changed files with 5 additions and 3 deletions

View File

@@ -146,6 +146,8 @@
`(let [^Sound object# ~object]
(u/call! object# ~k ~@options)))
; assets
(defn ^:private loader-init
"Internal use only"
[k]

View File

@@ -1,6 +1,6 @@
(in-ns 'play-clj.core)
; misc
; utilities
(defmacro usage
"Returns a static field in [VertexAttributes.Usage](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/VertexAttributes.Usage.html)"

View File

@@ -19,7 +19,7 @@
(defmacro animation-controller
"Returns an [AnimationController](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/g3d/utils/AnimationController.html)
(animation-controller entity)"
(animation-controller model-entity)"
[entity & options]
`(let [^AnimationController object# (animation-controller* ~entity)]
(u/calls! object# ~@options)))

View File

@@ -69,7 +69,7 @@
"Internal use only"
[args divider]
(let [[a1 a2] (take-last 2 args)]
(conj (vec (drop-last 2 args)) (str (name a1) divider a2))))
(conj (vec (drop-last 2 args)) (str (name a1) divider (name a2)))))
(defn gdx
"Returns a fully-qualified LibGDX symbol"