LDtkLevel
class LDtkLevel(val uid: Int, val identifier: String, val iid: String, val pxWidth: Int, val pxHeight: Int, val worldX: Int, val worldY: Int, val neighbors: List<LDtkLevel.Neighbor>, val layers: List<LDtkLayer>, val entities: List<LDtkEntity>, val backgroundColor: String, levelBackgroundPos: LDtkLevelBackgroundPositionData? = null, bgImageTexture: TextureSlice? = null)
Author
Colton Daily
Constructors
Link copied to clipboard
fun LDtkLevel(uid: Int, identifier: String, iid: String, pxWidth: Int, pxHeight: Int, worldX: Int, worldY: Int, neighbors: List<LDtkLevel.Neighbor>, layers: List<LDtkLayer>, entities: List<LDtkEntity>, backgroundColor: String, levelBackgroundPos: LDtkLevelBackgroundPositionData? = null, bgImageTexture: TextureSlice? = null)
Types
Link copied to clipboard
data class LevelBgImage(val topLeftX: Int, val topLeftY: Int, val scaleX: Float, val scaleY: Float, val cropRect: LDtkLevel.CropRect, val slice: TextureSlice)
Link copied to clipboard
Link copied to clipboard