interface

Query

Interface for filtering entities by components. Factory methods: any(), not(Query), and(Query...), or(Query...).

Methods

Query and()
static

Creates AND query. Params: (Query... queries)

Query any()
static

Creates query matching all entities

Query not()
static

Creates negated query. Params: (Query query)

Query or()
static

Creates OR query. Params: (Query... queries)