Object

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>)

Constructors

Link copied to clipboard
fun Object(id: Int, gid: Long?, name: String, type: String, bounds: Rect, rotation: Angle, visible: Boolean, shape: TiledMap.Object.Shape, properties: Map<String, TiledMap.Property>)

Types

Link copied to clipboard
Link copied to clipboard
sealed class Shape

Functions

Link copied to clipboard
fun bool(propName: String, default: Boolean = false): Boolean
Link copied to clipboard
fun float(propName: String, default: Float = 0.0f): Float
Link copied to clipboard
fun int(propName: String, default: Int = 0): Int
Link copied to clipboard
fun str(propName: String, default: String = ""): String

Properties

Link copied to clipboard
Link copied to clipboard
val gid: Long?
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
val x: Float
Link copied to clipboard
val y: Float