Adjust documentation
This commit is contained in:
@@ -118,11 +118,11 @@
|
|||||||
"joint!" :methods}
|
"joint!" :methods}
|
||||||
"Label" {"label" :methods
|
"Label" {"label" :methods
|
||||||
"label!" :methods}
|
"label!" :methods}
|
||||||
"MapLayer" {"basic-map-layer" :methods
|
|
||||||
"basic-map-layer!" :methods}
|
|
||||||
"Material" {"material" :methods
|
"Material" {"material" :methods
|
||||||
"material!" :methods}
|
"material!" :methods}
|
||||||
"MathUtils" {"math!" :static-methods}
|
"MathUtils" {"math!" :static-methods}
|
||||||
|
"MapLayer" {"basic-map-layer" :methods
|
||||||
|
"basic-map-layer!" :methods}
|
||||||
"Matrix3" {"matrix-3" :methods
|
"Matrix3" {"matrix-3" :methods
|
||||||
"matrix-3!" :methods}
|
"matrix-3!" :methods}
|
||||||
"Matrix4" {"matrix-4" :methods
|
"Matrix4" {"matrix-4" :methods
|
||||||
|
|||||||
@@ -166,7 +166,7 @@ from the tiled map in `screen` from the given `layer` and position `x` and `y`.
|
|||||||
from the tiled map in `screen` that matches `layer`. This is necessary for
|
from the tiled map in `screen` that matches `layer`. This is necessary for
|
||||||
non-tile layers, like object and image layers.
|
non-tile layers, like object and image layers.
|
||||||
|
|
||||||
(basic-map-layer screen \"water\")"
|
(basic-map-layer screen \"objects\")"
|
||||||
[screen layer & options]
|
[screen layer & options]
|
||||||
`(let [^MapLayer object# (basic-map-layer* ~screen ~layer)]
|
`(let [^MapLayer object# (basic-map-layer* ~screen ~layer)]
|
||||||
(u/calls! object# ~@options)))
|
(u/calls! object# ~@options)))
|
||||||
@@ -174,7 +174,7 @@ non-tile layers, like object and image layers.
|
|||||||
(defmacro basic-map-layer!
|
(defmacro basic-map-layer!
|
||||||
"Calls a single method on a `basic-map-layer`.
|
"Calls a single method on a `basic-map-layer`.
|
||||||
|
|
||||||
(basic-map-layer! (basic-map-layer screen \"water\")
|
(basic-map-layer! (basic-map-layer screen \"objects\")
|
||||||
:set-visible false)"
|
:set-visible false)"
|
||||||
[object k & options]
|
[object k & options]
|
||||||
`(u/call! ^MapLayer ~object ~k ~@options))
|
`(u/call! ^MapLayer ~object ~k ~@options))
|
||||||
|
|||||||
Reference in New Issue
Block a user