jetlag2d
    Preparing search index...

    Interface IStateObserver

    Anything that wants to subscribe to state changes on an Entity must implement this interface.

    interface IStateObserver {
        onStateChange(
            actor: Actor,
            event: StateEvent,
            newState: ActorState,
            oldState: ActorState,
        ): void;
    }

    Implemented by

    Index