TiledTilesLayer

class TiledTilesLayer(val type: String, val name: String, val id: Int, val visible: Boolean, val width: Int, val height: Int, val offsetX: Float, val offsetY: Float, val tileWidth: Int, val tileHeight: Int, val tintColor: Color?, val opacity: Float, val properties: Map<String, TiledMap.Property>, staggerIndex: TiledMap.StaggerIndex?, staggerAxis: TiledMap.StaggerAxis?, orientation: TiledMap.Orientation, tileData: IntArray, tiles: Map<Int, TiledTileset.Tile>) : TiledLayer

Author

Colton Daily

Constructors

Link copied to clipboard
fun TiledTilesLayer(type: String, name: String, id: Int, visible: Boolean, width: Int, height: Int, offsetX: Float, offsetY: Float, tileWidth: Int, tileHeight: Int, tintColor: Color?, opacity: Float, properties: Map<String, TiledMap.Property>, staggerIndex: TiledMap.StaggerIndex?, staggerAxis: TiledMap.StaggerAxis?, orientation: TiledMap.Orientation, tileData: IntArray, tiles: Map<Int, TiledTileset.Tile>)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun getCellX(coordId: Int): Int
Link copied to clipboard
fun getCellY(coordId: Int): Int
Link copied to clipboard
fun getCoordId(cx: Int, cy: Int): Int
Link copied to clipboard
fun isCoordValid(cx: Int, cy: Int): Boolean
Link copied to clipboard
override fun render(batch: Batch, viewBounds: Rect, x: Float, y: Float, scale: Float)
fun render(batch: Batch, camera: Camera, x: Float, y: Float, scale: Float = 1.0f)
fun render(batch: Batch, camera: Camera, x: Float, y: Float, scale: Float = 1.0f, displayObjects: Boolean = false)
open override fun render(batch: Batch, viewBounds: Rect, x: Float, y: Float, scale: Float, displayObjects: Boolean)

Properties

Link copied to clipboard
val height: Int
Link copied to clipboard
val id: 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
val width: Int