KECS / com.juanmedina.kecs.entity / Entity / removeComponent
removeComponent¶
fun <reified T :
Any
> removeComponent():
Unit
Removes a component of the given type from this entity.
fun <T :
Any
> removeComponent(component: T):
Unit
Removes a component of from this entity giving the component reference.
Parameters¶
component
- a reference to the component to be removed.