TiledMap

class TiledMap(val backgroundColor: Color?, val orientation: TiledMap.Orientation, val renderOrder: TiledMap.RenderOrder, val staggerAxis: TiledMap.StaggerAxis?, val staggerIndex: TiledMap.StaggerIndex?, val layers: List<TiledLayer>, val width: Int, val height: Int, val properties: Map<String, TiledMap.Property>, val tileWidth: Int, val tileHeight: Int, val tileSets: List<TiledTileset>, textures: MutableList<Texture>) : TileMap, Disposable

Author

Colton Daily

Constructors

Link copied to clipboard
fun TiledMap(backgroundColor: Color?, orientation: TiledMap.Orientation, renderOrder: TiledMap.RenderOrder, staggerAxis: TiledMap.StaggerAxis?, staggerIndex: TiledMap.StaggerIndex?, layers: List<TiledLayer>, width: Int, height: Int, properties: Map<String, TiledMap.Property>, tileWidth: Int, tileHeight: Int, tileSets: List<TiledTileset>, textures: MutableList<Texture>)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class Grid(val cellWidth: Int, val cellHeight: Int, val orientation: TiledMap.Orientation = Orientation.ORTHOGONAL)
Link copied to clipboard
data class Object(val id: Int, val gid: Long?, val name: String, val type: String, val bounds: Rect, val rotation: Angle, val visible: Boolean, val shape: TiledMap.Object.Shape, val properties: Map<String, TiledMap.Property>)
Link copied to clipboard
Link copied to clipboard
sealed class Property
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun dispose()
Link copied to clipboard
operator fun get(layer: String): TiledLayer
Link copied to clipboard
fun layer(name: String): TiledLayer
Link copied to clipboard
open override fun render(batch: Batch, camera: Camera, x: Float, y: Float, scale: Float)
fun render(batch: Batch, camera: Camera, x: Float = 0.0f, y: Float = 0.0f, scale: Float = 1.0f, displayObjects: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
val height: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val width: Int