where block.
has() operations with and/or combinators. It intentionally does NOT have a where method to prevent nested where blocks.
class CachedQueryWhereBuilder
CachedQueryWhereBuilder
()
|
Signature
constructor() Returns |
has
(
componentIds
)
|
Creates a query node that matches entities with all specified components.
Signature
fun has(vararg componentIds: Int): CachedQueryNode Parameters
componentIds:
Int
Enemy.id, Health.id).
|