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

T

the Component type to inspect.

mapper

the ComponentMapper to check the Component with.

See also

ComponentMapper.has