Gets the action index.
number
Sets the action index.
number
Gets all actions and loops.
Array
Applies user data to the behaviour
void
Changes the sprtie of the owner based on the material and frameSequence. NOTE: This can only change to animated sprite materials.
void
Gets the current action.
ActionLoop
Gets the current loop.
Array
Removes the owner from the behaviour.
void
Kills the owner object.
void
Gets the owner Entity of the behaviour.
Entity
Causes the owner to perform a jump.
void
Called when the behaviour handles a message.
void
Sets the behaviour data from json format.
void
Sets the owner of the behaviour.
void
Has the owner of the behaviour take damage.
void
Updates the behaviour.
void
Checks if the behaviour is ready to update.
void
Generated using TypeDoc
Class constructor