TmxObjectGroup

TmxBaseLayerformat.tmx.TmxObjectGroup (Class)

Layer representing a group of objects.

Instance Members

color: Null<Int>

The color used to display the objects in this group.


drawOrder: Anonymous

Whether the objects are drawn according to the order of appearance ("index") or sorted by their y-coordinate ("topdown"). Defaults to "topdown".


objects: Array<TmxObject>

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