This removes all of the entities and components from the manager.
Removes an entity from the registry. Note that this doesn't destroy the entity, only removes it and its components from the manager. To destroy the entity,use Entity.destroy() method.
Entity.destroy()
The entity to remove.
Inserts components into an entity.
The entity to add.
Adds an entity to the registry.
This removes all of the entities and components from the manager.