Called when an entity is being deleted from the world.
entity
@override void deleted(Entity entity) => removeFromPlayer(entity);