QueryComp property

QueryEntityComponent<T> get QueryComp

Returns a fresh QueryEntityComponent scoped to this entity's direct components.

Entry point for the Query-like DSL over components.

Implementation

QueryEntityComponent<T> get QueryComp => .new(app, this);