Skip to content

Add QueryState::contains to mirror Query::contains #12750

@ItsDoot

Description

@ItsDoot

What problem does this solve or what need does it fill?

There exists Query::contains, but not QueryState::contains.

What solution would you like?

Add QueryState::contains.

Additional context

Query::contains was originally added in #3090 in 2021; QueryState wasn't generally accessible by users until #6083 in 2022, so just seems like an oversight.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ECSEntities, components, systems, and eventsC-UsabilityA targeted quality-of-life change that makes Bevy easier to use

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions