TmxObjectGroup
TmxBaseLayer → format.tmx.TmxObjectGroup (Class)
Layer representing a group of objects.
Instance Members
The color used to display the objects in this group.
Whether the objects are drawn according to the order of appearance ("index") or sorted by their y-coordinate ("topdown"). Defaults to "topdown".
List of all objects.
new(drawOrder: Anonymous, objects: Array<TmxObject>, color: Null<Int>, id: Int, name: String, x: Null<Float>, y: Null<Float>, offsetX: Null<Int>, offsetY: Null<Int>, width: Null<Int>, height: Null<Int>, opacity: Null<Float>, visible: Bool, properties: TmxProperties): Void
Name | Type |
---|---|
drawOrder |
Anonymous |
objects |
Array<TmxObject> |
color |
Null<Int> |
id |
Int |
name |
String |
x |
Null<Float> |
y |
Null<Float> |
offsetX |
Null<Int> |
offsetY |
Null<Int> |
width |
Null<Int> |
height |
Null<Int> |
opacity |
Null<Float> |
visible |
Bool |
properties |
TmxProperties |