public override void Update(GameTime gameTime) { if (_menuButton.Clicked()) { ScreenManager.GotoScreen(new MenuScreen()); } base.Update(gameTime); }
public override void Update(GameTime gameTime) { if (_startButton.Clicked()) { ScreenManager.GotoScreen(new LevelOneGameScreen()); } if (_exitButton.Clicked() || Keyboard.GetState().IsKeyDown(Keys.Escape)) { ShooterTutorialGame.QuitGame = true; return; } base.Update(gameTime); }