GameObject Class
Game object interface (prototype).
Public Properties
- isDirty
boolean: Indicates if the object is dirty (needs update).
Public Methods
new(object)
Constructor for use in subclass declaration.
Parameters:
objecttable (optional): Required for subclassingGameObject.
Returns:
GameObject: NewGameObjectobject.
class()
Returns the specific class of the object.
Returns:
GameObject: Class object.
objectInteracted()
Notifies the object of interaction.