public void RemoveEntity(Entity entity) { entity.RemoveBody(); if (entity is Monster monster) { Enemies.Remove(monster); } if (Blocks.Contains(entity)) { Blocks.Remove(entity); } if (Particles.Contains(entity)) { Particles.Remove(entity as Particle); } Decorations.Remove(entity); }