Beispiel #1
0
        public static void UpdateEvent(float deltaTimeToTrigger)
        {
            TimerMan pTimerMan = TimerMan.PrivGetInstance();

            Debug.Assert(pTimerMan != null);
            TimerEvent pTimerEvent = (TimerEvent)pTimerMan.BaseGetActive();

            while (pTimerEvent != null)
            {
                pTimerEvent.SetDeltaTime(deltaTimeToTrigger * pTimerEvent.GetDeltaTime());
                pTimerEvent = (TimerEvent)pTimerEvent.pNext;
            }
        }