Пример #1
0
        public override void Update(GameTime gameTime)
        {
            Camera.Update(Vector2.Zero);
            ObjectAnimated.Update(gameTime);

            if (_canPressStart)
            {
                ObjectAnimated.Play("StartScreen");

                if (ManageInput.playerStart)
                {
                    ManageScreens.LoadNewScreen(new ScreenLoad(ManageScreens), "Fading");
                }
            }
        }
Пример #2
0
        public override void Update(GameTime gameTime)
        {
            Camera.Update(Vector2.Zero);
            ObjectAnimated.Update(gameTime);

            if (_timer <= 0)
            {
                _canPressStart = true;
            }


            if (_canPressStart)
            {
                if (ManageInput.playerStart)
                {
                    ManageScreens.LoadNewScreen(new ScreenWorld(ManageScreens, true), "Fading");
                }
            }
            _timer--;
        }