TiledGroupLayer

class TiledGroupLayer(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>, val layers: List<TiledLayer>) : TiledLayer

Author

Colton Daily

Constructors

Link copied to clipboard
fun TiledGroupLayer(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>, layers: List<TiledLayer>)

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)
open override fun render(batch: Batch, viewBounds: Rect, x: Float, y: Float, scale: Float, displayObjects: Boolean)
fun render(batch: Batch, camera: Camera, x: Float, y: Float, scale: Float = 1.0f, displayObjects: Boolean = false)

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