sim-ecs - v0.6.5
    Preparing search index...

    Interface ISystemActions

    interface ISystemActions {
        commands: Readonly<ICommands>;
        currentState: undefined | Readonly<IState>;
        getEntities(
            query?: Readonly<IEntitiesQuery>,
        ): IterableIterator<IReadOnlyEntity>;
        getResource<T extends object>(type: TTypeProto<T>): T;
        hasResource<T extends object>(type: Readonly<T> | TTypeProto<T>): boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    commands: Readonly<ICommands>
    currentState: undefined | Readonly<IState>

    Methods

    • Type Parameters

      • T extends object

      Parameters

      • type: Readonly<T> | TTypeProto<T>

      Returns boolean