Companion

object Companion

The companion object of EntityQueryCondition.

Functions

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

Creates a custom condition based on a lambda function.

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

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