Strata - v1.4.10
    Preparing search index...

    Interface YukaStateMachineProps

    Props for the YukaStateMachine component.

    interface YukaStateMachineProps {
        entity?: GameEntity;
        globalState?: StateConfig;
        initialState: string;
        states: StateConfig[];
    }
    Index

    Properties

    entity?: GameEntity

    The entity this state machine controls. If omitted, a dummy entity is used.

    globalState?: StateConfig

    Optional state that runs alongside the current state.

    initialState: string

    Name of the starting state.

    states: StateConfig[]

    Array of state configurations.