public override void Update(GameTime gametime) { base.Update(gametime); if (m_over == true) { return; } if (FightEngine.TickCount >= m_recording.Data.Count) { if (MenuSystem.GetSubSystem <InitializationSettings>().QuitAfterReplay == true) { MenuSystem.PostEvent(new Events.FadeScreen(FadeDirection.Out)); } m_over = true; return; } InjectRecordingInput(); if (Pause == PauseState.Unpaused || Pause == PauseState.PauseStep) { FightEngine.Update(gametime); } if (Pause == PauseState.PauseStep) { m_pause = PauseState.Paused; } }
public override void Update(GameTime gametime) { base.Update(gametime); Recorder.Update(); if (Pause == PauseState.Unpaused || Pause == PauseState.PauseStep) { FightEngine.Update(gametime); } if (Pause == PauseState.PauseStep) { m_pause = PauseState.Paused; } }