public void _Update()
        {
            if (currentState == MediaStates.Playing)
            {
                attachments.Update();

                if (renderMethod is IUpdateableRenderer)
                {
                    ((IUpdateableRenderer)renderMethod).Update();
                }

                if (!endParticles)
                {
                    spawnCycle.Update();
                }
                else
                if (particles.Count == 0)
                {
                    Stop();
                }
            }
        }
Example #2
0
 public void _Update()
 {
     cycle.Update();
 }