super-ecs
    Preparing search index...

    Class World

    Index

    Constructors

    Methods

    • Returns the Observable for entities added with the specified components. The Observable is also emitted when a component is added to an entity causing it match the specified component names. Note: make sure to unsubscribe. If needed, use DisposeBag util

      Parameters

      • componentNames: readonly symbol[]

      Returns Observable<Entity>

    • Returns the Observable for entities removed with the specified components. The Observable is also emitted when a component is removed from an entity causing it to no longer match the specified component names. Note: make sure to unsubscribe. If needed, use DisposeBag util

      Parameters

      • componentNames: readonly symbol[]

      Returns Observable<Entity>

    • Get the entities having all the specified components.

      Parameters

      • componentNames: readonly symbol[]

      Returns readonly Entity[]