def remove(self, entity):
		super(WorldEntitySet, self).remove(entity)
		for component in self.world.components:
			try:
				del component[entity]
			except KeyError:
				pass
		for cls in entity.__class__.__mro__:
			if issubclass(cls, Entity):
				self.world[cls].entities.discard(entity)
Remove the entity from the set and, world components,
dataset/ETHPy150Open caseman/grease/grease/world.py/WorldEntitySet.remove