Exemplo n.º 1
0
 protected override void AfterDestroy()
 {
     if (mcSmokeParticleSystem != null)
     {
         mcSmokeParticleSystem.Destroy();
         mcSmokeParticleSystem = null;
     }
 }
Exemplo n.º 2
0
        protected override void AfterInitialize()
        {
            mcSmokeParticleSystem = new SmokeRingParticleSystem(this.Game);

            // Initialize the Smoke Particle System
            mcSmokeParticleSystem.AutoInitialize(this.GraphicsDevice, this.ContentManager, null);
            mcSmokeParticleSystem.DrawOrder = 100;
        }