public void HandleInput(InputHelper inputHelper) { if (inputHelper.KeyPressed(Keys.E) || inputHelper.AnyPlayerPressed(Buttons.Y)) { GameEnvironment.GameStateManager.SwitchTo("playingState"); (GameEnvironment.GameStateManager.CurrentGameState as PlayingState).GoToNextLevel(); } }