removeComponent<T extends Component> method

void removeComponent<T extends Component>(
  1. int entity
)

Remove the component with type T from an entity.

Implementation

void removeComponent<T extends Component>(int entity) =>
    world.removeComponent<T>(entity);