new TmxObject(pObjectNode, pParent)
Represents an object extracted from the .tmx file.
Parameters:
Name | Type | Description |
---|---|---|
pObjectNode |
Node | The node containing the object. |
pParent |
FM.TmxObjectGroup | The group this object belongs to. |
- Source:
Members
-
gid :int
-
The ID of the object.
Type:
- int
- Source:
-
group :FM.TmxObjectGroup
-
The group this object belongs to.
Type:
- Source:
-
height :int
-
The height of the object.
Type:
- int
- Source:
-
name :string
-
The name of the object.
Type:
- string
- Source:
-
shared
-
Resolve inheritance.
- Source:
-
type :string
-
The type of the object.
Type:
- string
- Source:
-
width :int
-
The width of the object.
Type:
- int
- Source:
-
x :int
-
The x position of the object.
Type:
- int
- Source:
-
y :int
-
The y position of the object.
Type:
- int
- Source: