Companion

object Companion

The companion object of EntityQueryCondition.

Functions

Link copied to clipboard
@JvmStatic
fun customCondition(condition: (Entity) -> Boolean): EntityQueryCondition

Creates a custom condition defined by a lambda function.

Link copied to clipboard
@JvmStatic
fun <T : Component> hasComponent(componentClass: Class<T>): EntityQueryCondition

Creates a condition to check whether an entity has a component of the specified type.