wima
    Preparing search index...

    Class Query<T, U>

    Enables operations to be performed on entities matching the given component constructors on a World. The world does not need the component types to be pre-registered.

    class A {}
    class B {}

    const world = new World()
    const query = new Query(world, [A, B])

    // you can now use the query to perform operations
    // on entities with components `A` and `B`
    // see the {@link Query} methods to know what operations
    // are available

    Type Parameters

    Index

    Constructors

    Properties

    descriptors: TypeId[] = []
    filters: U

    Methods