/// <summary> /// Initializes the game. /// </summary> public static void Initialize() { _clock = new HighPrecisionClock(); _timer = new FixedStepTimer(_clock); _timer.TimeChanged += Update; _timer.Idle += Idle; _clock.Start(); _timer.Start(); }
/// <summary> /// Initializes the game. /// </summary> private static void Initialize() { _clock = new HighPrecisionClock(); _timer = new FixedStepTimer(_clock); _clock.Start(); _timer.Start(); }