file: StateComponent.aus

class: StateComponent

[16:7] extends: Component

Wraps FXGL's StateComponent (com.almasb.fxgl.entity.state.StateComponent), the per-entity FSM container that tracks the current EntityState and provides transitions. Attach to an entity then call changeState / changeStateAllowReentry / changeStateToIdle.

Methods