public void washTimeEvent()
 {
     this.cTimerEventName = TimerEvent.TimerEventName.Uninitialized;
     this.cCommand        = null;
     this.cTriggerTime    = 0.0f;
     this.cDeltaTime      = 0.0f;
 }
        public void setAll(TimerEvent.TimerEventName mEventName, Command mCommand, float mDeltaTime)
        {
            this.cTimerEventName = mEventName;
            this.cCommand        = mCommand;
            this.cDeltaTime      = mDeltaTime;

            this.cTriggerTime = TimerManager.GetCurrTime() + mDeltaTime;
        }
        public static TimerEvent find(TimerEvent.TimerEventName mTimerEventName)
        {
            Debug.Assert(timerMInstance != null);
            TimerEvent pseudoTimer = cTimerEventRef;

            Debug.Assert(pseudoTimer != null);

            pseudoTimer.cTimerEventName = mTimerEventName;

            TimerEvent targetTimer = (TimerEvent)timerMInstance.genericFind(pseudoTimer);

            return(targetTimer);
        }
        public static TimerEvent sortedAdd(TimerEvent.TimerEventName mEventName, Command mCommand, float mDeltaTime)
        {
            Debug.Assert(timerMInstance != null);
            Debug.Assert(mCommand != null);
            Debug.Assert(mDeltaTime >= 0.0f);

            TimerEvent timerEvent = (TimerEvent)timerMInstance.pullReserveNode();

            timerEvent.setAll(mEventName, mCommand, mDeltaTime);

            Debug.Assert(timerEvent != null);

            timerMInstance.addSorted(timerEvent);

            return(timerEvent);
        }