file: State.aus

class: State

[16:7] extends: FxObj

Wraps an AussomState (implementation of FXGL's State interface) so Aussom code can author custom FSM states. Each state owns an isSubState flag plus four lifecycle callbacks: onCreate, onDestroy, onEnteredFrom(prevState), onExitingTo (nextState). Configure via the on* methods, then pass to a StateMachine constructor or changeState call.

Methods