Ejemplo n.º 1
0
        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;
            }
        }
Ejemplo n.º 2
0
        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;
            }
        }