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"); } } }
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--; }