exclude

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

Excludes entities from an Aspect if they have at least one of the specified components.

Return

an Aspect.Builder for the Aspect.

Parameters

components

all the components the entities cannot have.


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

Excludes entities from an Aspect if they have at least one of 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 cannot have.