A state of a state machine.
||The name of the state.|
|Name||The name of the state.|
|OnEnter||A function executed when a state machines enters this state. Should take the state as the first argument.|
|OnExit||A function executed when a state machine exists this state. Should take the state as the first argument.|
|OnUpdate||A function executed while the state is active. Should take the state as the first argument and delta time as the second.|
|StateMachine||The state machine to which this state belongs.|
|get_duration||Retrieves how long (in milliseconds) has the state been active for.|
Copyright © 2022, BlueBurn. Built on April 11, 2022 using GMDoc.