hasNot

fun <T : Component> Entity.hasNot(mapper: ComponentMapper<T>): Boolean

Checks whether the Entity does not have the specified Component.

Return

true if the Entity does not have the specified component, and false otherwise.

Parameters

mapper

the ComponentMapper to check the Component with.

Type Parameters

T

the Component type to inspect.

See also

ComponentMapper.has