LDtkWorldData

@Serializable
data class LDtkWorldData(val identifier: String, val iid: String = "", val levelDefinitions: List<LDtkLevelDefinition>, val worldGridHeight: Int, val worldGridWidth: Int, val worldLayout: LDtkWorldLayout)

Constructors

Link copied to clipboard
fun LDtkWorldData(identifier: String, iid: String = "", levelDefinitions: List<LDtkLevelDefinition>, worldGridHeight: Int, worldGridWidth: Int, worldLayout: LDtkWorldLayout)

Properties

Link copied to clipboard

User defined unique identifier

Link copied to clipboard
val iid: String

Unique instance identifier

Link copied to clipboard

Height of the world grid in pixels.

Link copied to clipboard

Width of the world grid in pixels.

Link copied to clipboard

An enum that describes how levels are organized in this project (ie. linearly or in a 2D space). Possible values: Free, GridVania, LinearHorizontal, LinearVertical