Пример #1
0
        public static void UpdateMovementRange(int delta)
        {
            TimerMan pTimerMan = TimerMan.PrivGetInstance();

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

            while (pTimerEvent != null)
            {
                pTimerEvent.GetCommand().UpdateRange(delta);
                pTimerEvent = (TimerEvent)pTimerEvent.pNext;
            }
        }