FSO.HIT.HITVM.Tick C# (CSharp) Method

Tick() public method

public Tick ( ) : void
return void
        public void Tick()
        {
            for (int i = 0; i < Sounds.Count; i++)
            {
                if (!Sounds[i].Tick()) Sounds.RemoveAt(i--);
            }

            if (NextMusic != null)
            {
                if (MusicEvent == null || MusicEvent.Dead)
                {
                    MusicEvent = NextMusic;
                    Sounds.Add(NextMusic);
                    NextMusic = null;
                }
            }

            for (int i = 0; i < FSCPlayers.Count; i++)
            {
                FSCPlayers[i].Tick(1/60f);
            }
        }