public void removeParticleGenerator(ParticleGenerator particleGenerator) { lock (particleGeneratorList) { particleGeneratorList.Remove(particleGenerator); } }
public void addParticleGenerator(ParticleGenerator particleGenerator) { lock (particleGeneratorList) { particleGeneratorList.Add(particleGenerator); } }