public void WaitForNextDay(ContinueFlag continueFlag) { while (continueFlag && _stopWatch.ElapsedMilliseconds < SecondsPerDay * 1000) { Thread.Sleep(25); } _stopWatch.Restart(); }
public void WaitForNextDay(ContinueFlag continueFlag) { while(continueFlag && _stopWatch.ElapsedMilliseconds < SecondsPerDay*1000) Thread.Sleep(25); _stopWatch.Restart(); }