public void IsIdempotent() { var subject = new ParticleEmitter(null, 10, TimeSpan.FromSeconds(1), Profile.Point()); subject.Dispose(); subject.Dispose(); }
public void removeEmitter(int idx) { ParticleEditModel md = MainModel.ins.particleEditModel; ParticleEmitter emt = lstEmitter[idx]; lstEmitter.RemoveAt(idx); emt.Dispose(); updateMaxRenderTime(); }
public override void Dispose() { levelObject.Dispose(); base.Dispose(); }
public override void Unload() { _trail.Dispose(); _explosion.Dispose(); }