Extended from EventEmitter BaseObject¶
This class is the base class of the majority of classes
Properties¶
Instance Instance¶
The object instance
string Scene¶
The object scene ID
table Tags¶
This table stores all the tags of the object
{ }
Methods¶
BaseObject Constructor(instanceType: string?
)¶
void SetScene(scene: Scene
)¶
Sets the object scene
void AddTag(tag: string
)¶
Adds a tag to the object
boolean HasTag(tag: string
)¶
Checks if the object contain the specified tag
void RemoveTag(tag: string
)¶
Removes a tag from the object
Events¶
Name |
Description |
---|---|