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 CachedQueryWhereBuilder |
has
(
componentIds
)
|
Creates a query node that matches entities with all specified components.
Signature
fun has(vararg componentIds: Int): CachedQueryNode Parameters componentIds: Int
The component IDs to check for (e.g., Enemy.id, Health.id).
|