Cast class to avoid reflection
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
(defmacro tiled-map-layer!
|
(defmacro tiled-map-layer!
|
||||||
[layer k & options]
|
[layer k & options]
|
||||||
`(u/call! ^TiledMapTileLayer ~layer ~k ~@options))
|
`(u/call! ^TiledMapTileLayer (cast TiledMapTileLayer ~layer) ~k ~@options))
|
||||||
|
|
||||||
(defn tiled-map-cell
|
(defn tiled-map-cell
|
||||||
[screen layer x y]
|
[screen layer x y]
|
||||||
|
|||||||
Reference in New Issue
Block a user