Ejemplo n.º 1
0
        public override void Notify()
        {
            //might need to specify if i add more sound effects
            //but testing here
            TimeEvent pTE = TimerMan.Find(TimeEvent.Name.PlaySound);

            if (pTE != null)
            {
                TimerMan.Remove(pTE);
            }

            else
            {
                // edge case of ufo hit wall and hit by missile
                //event was attempted to be removed twice
            }

            //TimerMan.DumpTimeEvents();
        }