Beispiel #1
0
 public void Start(long currTicks)
 {
     if (_startCount == 0)
     {
         ActiveRange[] ranges;
         if (_currentActiveRangeIndex >= RangesPerLine)
         {
             ranges = new ActiveRange[RangesPerLine];
             _activeRanges.AddLast(ranges);
             _currentActiveRangeIndex = 0;
         }
         else
         {
             ranges = _activeRanges.Last.Value;
         }
         ranges[_currentActiveRangeIndex].BeginTicks = currTicks;
     }
     ++_startCount;
 }
Beispiel #2
0
 public void Start(long currTicks)
 {
     if (_activeChildTimerCount == 0)
     {
         if (_parent != null)
         {
             _parent.Start(currTicks);
         }
         ActiveRange[] ranges;
         if (_currentActiveRangeIndex >= RangesPerLine)
         {
             ranges = new ActiveRange[RangesPerLine];
             _activeRanges.AddLast(ranges);
             _currentActiveRangeIndex = 0;
         }
         else
         {
             ranges = _activeRanges.Last.Value;
         }
         ranges[_currentActiveRangeIndex].BeginTicks = currTicks;
     }
     ++_activeChildTimerCount;
 }
Beispiel #3
0
 public void Start(long currTicks)
 {
   if (_startCount == 0)
   {
     ActiveRange[] ranges;
     if (_currentActiveRangeIndex >= RangesPerLine)
     {
       ranges = new ActiveRange[RangesPerLine];
       _activeRanges.AddLast(ranges);
       _currentActiveRangeIndex = 0;
     }
     else
       ranges = _activeRanges.Last.Value;
     ranges[_currentActiveRangeIndex].BeginTicks = currTicks;
   }
   ++_startCount;
 }
Beispiel #4
0
 public void Start(long currTicks)
 {
   if (_activeChildTimerCount == 0)
   {
     if (_parent != null)
       _parent.Start(currTicks);
     ActiveRange[] ranges;
     if (_currentActiveRangeIndex >= RangesPerLine)
     {
       ranges = new ActiveRange[RangesPerLine];
       _activeRanges.AddLast(ranges);
       _currentActiveRangeIndex = 0;
     }
     else
       ranges = _activeRanges.Last.Value;
     ranges[_currentActiveRangeIndex].BeginTicks = currTicks;
   }
   ++_activeChildTimerCount;
 }