projects/Extant/Threading/ThreadRun.cs
/// <summary>
/// Handles the timing and calls of all ticks.
/// </summary>
Handles the timing and calls of all ticks.
Handles the timing and calls of all ticks .
void HandleTickCalls(out long timeUntilNextTick)
        {
            timeUntilNextTick = int.MaxValue;
            foreach (var call in _tickCalls)
            {
                if (call.IsReady)
                {
                    call.ActionCall.Invoke();
                    call.RestartCallTimer();
                }
                if (call.RemainingMilliseconds < timeUntilNextTick)
                    timeUntilNextTick = call.RemainingMilliseconds;
            }
        }
void HandleTickCalls ( out long timeUntilNextTick ) { timeUntilNextTick = int . MaxValue ; foreach ( var call in _tickCalls ) { if ( call . IsReady ) { call . ActionCall . Invoke ( ) ; call . RestartCallTimer ( ) ; } if ( call . RemainingMilliseconds < timeUntilNextTick ) timeUntilNextTick = call . RemainingMilliseconds ; } }
Handles the timing and calls of all ticks.
Handles the timing and calls of all ticks .
long
out