clojure.gdx
copy-tile
Memoized function. Tiles are usually shared by multiple cells. https://libgdx.com/wiki/graphics/2d/tile-maps#cells No copied-tile for AnimatedTiledMapTile yet (there was no copy constructor/method)
k->align
(k->align k)
Returns the com.badlogic.gdx.utils.Align
enum for keyword k
.
k
is either :center
, :left
or :right
and Align
value is Align/center
, Align/left
and Align/right
.
tmx-tiled-map
(tmx-tiled-map file-name)
Has to be disposed because it loads textures. Loads through internal file handle.