file: EntityState.aus

class: EntityState

[20:7] extends: State

Wraps FXGL's EntityState (com.almasb.fxgl.entity.state.EntityState), a named FSM state used by StateComponent. The base class is concrete and can be constructed directly with a name; custom lifecycle hooks (onEntering, onEnteredFrom, onExitingTo, onExited) require a Java subclass. For ad-hoc FSM work without Aussom-side overrides, use the default-name constructor or supply a unique name; the StateComponent uses the name in its toString.

Methods