addComponent<T extends Component> method
Add a component
to an entity
.
Implementation
void addComponent<T extends Component>(int entity, T component) =>
world.addComponent(entity, component);
Add a component
to an entity
.
void addComponent<T extends Component>(int entity, T component) =>
world.addComponent(entity, component);