/** * Removes the component from this entity. * * @param component to remove from this entity. * * @return this entity for chaining. */ public Entity removeComponent(Component component) { removeComponent(component.getClass()); return this; }
/** * Removes the component from this entity. * * @param component to remove from this entity. * * @return this entity for chaining. */ public Entity removeComponent(Component component) { removeComponent(component.getClass()); return this; }