code: def destroy_entitiy(self, entity):
          
          for relation in self._database.values():
              relation.pop(entity, None)
          for l in self._entities_by_component.values():
              l.discard(entity)
          self._entities.remove(entity)
docs: Remove the entity and all connected components from the world.
  
          Long-hand for :func:`essence.Entity.destroy`.