new TmxObjectGroup()
Object representing a group of objects of the tile map.
Members
-
height :int
-
The height of the objects of the group.
Type:
- int
-
map :FM.TmxMap
-
The map that this group belongs to.
Type:
-
name :string
-
The name of the group.
Type:
- string
-
objects :Array
-
The list of objects of the group.
Type:
- Array
-
opacity :float
-
The level of opacity of the objects of the group.
Type:
- float
-
properties :FM.TmxPropertySet
-
The properties of the group.
Type:
-
visible :boolean
-
Whether the objects of the group are visible or not.
Type:
- boolean
-
width :int
-
The width of the objects of the group.
Type:
- int
-
x :int
-
The x position of the objects of the group.
Type:
- int
-
y :int
-
The y position of the objects of the group.
Type:
- int
Methods
-
load(pObjectGroupNode, pParent)
-
Load the group of objects.
Parameters:
Name Type Description pObjectGroupNode
FM.TmxObjectGroup The node of the group the load. pParent
FM.TmxMap The tile map this group belongs to.