public void Update(GameTime gameTime, Controls _controls) { menuChoosen = false; if(_controls.menuUp() || _controls.menuRight()) { menuItem++; } if (_controls.menuDown() || _controls.menuLeft()) { menuItem--; } if (_controls.pause()) { menuChoosen = true; menuItem = 1; } if (_controls.accept()) { menuChoosen = true; } if (menuItem > 2) menuItem = 1; if (menuItem < 1) menuItem = 2; pauseSprite.Update(gameTime, menuItem); if (menuChoosen) { pauseSprite.IsVisible = false; } }