KECS / com.juanmedina.kecs.entity / Entity / add add¶ infix fun <reified T :Any> add(component: T):Unit Add a component to this entity. Parameters¶ component - the component to add to the entity, we can have only one per the given type.