allOf

fun allOf(vararg components: KClass<out Component>): Aspect.Builder

Includes entities to an Aspect if they have all the specified components.

Return

an Aspect.Builder for the Aspect.

Parameters

components

all the components the entities must have.


fun Aspect.Builder.allOf(vararg components: KClass<out Component>): Aspect.Builder

Includes entities to an Aspect if they have all the specified components.

Receiver

the Aspect.Builder for creating an Aspect.

Return

an Aspect.Builder for the Aspect.

Parameters

components

all the components the entities must have.