/// <summary> /// LoadContent will be called once per game and is the place to load /// all of your content. /// </summary> protected override void LoadContent() { // Create a new SpriteBatch, which can be used to draw textures. spriteBatch = new SpriteBatch(GraphicsDevice); gameScreen.Load(Content); titleScreen.Load(Content); gameOverScreen.Load(Content); //playerSelectScreen.Load(Content); oneplayerSelectScreen.Load(Content); twoplayerSelectScreen.Load(Content); onlineOptionsScreen.Load(Content); onlineJoinScreen.Load(Content); optionsScreen.Load(Content); editControls.Load(Content); pauseScreen.Load(Content); errorScreen.Load(Content); gameModeScreen.Load(Content); keyboardScreen.Load(Content); mainMenuScreen.Load(Content); waitingScreen.Load(Content); ScreenManager.AddScreen(ScreenState.Title, titleScreen); ScreenManager.AddScreen(ScreenState.Game, gameScreen); ScreenManager.AddScreen(ScreenState.MainMenu, mainMenuScreen); ScreenManager.AddScreen(ScreenState.GameOver, gameOverScreen); //ScreenManager.AddScreen(ScreenState.PlayerSelect, playerSelectScreen); ScreenManager.AddScreen(ScreenState.OnePlayerSelect, oneplayerSelectScreen); ScreenManager.AddScreen(ScreenState.TwoPlayerSelect, twoplayerSelectScreen); ScreenManager.AddScreen(ScreenState.OnlineOptionsScreen, onlineOptionsScreen); ScreenManager.AddScreen(ScreenState.OnlineJoinScreen, onlineJoinScreen); ScreenManager.AddScreen(ScreenState.Options, optionsScreen); ScreenManager.AddScreen(ScreenState.EditControls, editControls); ScreenManager.AddScreen(ScreenState.Pause, pauseScreen); ScreenManager.AddScreen(ScreenState.Error, errorScreen); ScreenManager.AddScreen(ScreenState.GameMode, gameModeScreen); ScreenManager.AddScreen(ScreenState.Keyboard, keyboardScreen); ScreenManager.AddScreen(ScreenState.Waiting, waitingScreen); ScreenManager.Change(ScreenState.MainMenu); }