Query class
A Query is a way to retrieve entities by matching their components against the Query filters.
They are used by systems to retrieve the entities they care about.
Constructors
-
Query(EntityManager entityManager, Iterable<
Filter< _filters)Component> >
Properties
-
entities
→ List<
Entity> -
Entities that are found through
_filters
.no setter - entityManager → EntityManager
-
The manager that handles all the entities.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
match(
Entity entity) → bool - Check if the given entity matches against the query.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited