oneOf

fun oneOf(vararg components: KClass<out Component>): Family.Builder

Return

a new Builder for a Family.

Parameters

components

matches entities with at least one of the specified components.


fun Family.Builder.oneOf(vararg components: KClass<out Component>): Family.Builder

Receiver

the Builder for creating a Family.

Return

the received Builder for the Family.

Parameters

components

matches entities with at least one of the specified components.