public override void HandleInput(InputState input, GameTime gameTime) { base.HandleInput(input, gameTime); if (input.IsPauseButtonPressed()) { screenManager.AddScreen(new PauseScreen()); } if (input.IsInGameMenuButtonPressed()) { screenManager.AddScreen(new InGameMenuScreen()); } if (input.IsInGameEscapeButtonPressed()) { LoadingScreen.Load(ScreenManager, new MainMenuScreen()); } player.HandleInput(input, gameTime); CheckForCollision(); HandleScrolling(); }