Constructor
Variables
data:LevelLayerData
The raw data of the layer. You can read it or modify it then set needRedraw=true to update it on screen.
read onlylayerIndex:Int
CdbLevel extends Layers: this index will tell in which object layer this LevelLayer content is added to.
Methods
buildIntProperty(name:String):Array<Int>
Returns the data for the given CDB per-tile property based on the data of the current layer. For instance if you have a "collide" per-tile property set for several of your objects or tiles, then calling buildIntProperty("collide") will return you with the collide data for the given layer. In case of objects, if several objects overlaps, the greatest property value overwrites the lowest.