ObjectGroup
ObjectGroup is a layer containing placed MapObjects. Access via the 'tilemap' submodule.
Inherits from Layer.
Properties
| Name | Description | Type |
|---|---|---|
color | Tint color for non-tile objects. | Color |
draw_order | Drawing order for objects in the group. | ObjectGroup.DrawOrder |
objects | MapObjectList of objects in the group. | list[MapObject] |
opacity | Layer opacity from 0.0 to 1.0. | float |
Methods
Draw
draw() → NoneDraw the object group.