LDtkMapLoader

class LDtkMapLoader(root: VfsFile, mapData: LDtkMapData, atlas: TextureAtlas? = null, tilesetBorder: Int = 2) : Disposable

Author

Colton Daily

Constructors

Link copied to clipboard
fun LDtkMapLoader(root: VfsFile, mapData: LDtkMapData, atlas: TextureAtlas? = null, tilesetBorder: Int = 2)

Functions

Link copied to clipboard
open override fun dispose()
Link copied to clipboard
suspend fun loadLevel(levelIdx: Int): LDtkLevel
Link copied to clipboard
suspend fun loadMap(loadAllLevels: Boolean, levelIdx: Int = 0): LDtkWorld