/// <summary> /// /// </summary> protected override void LoadContent() { mSpriteBatch = new SpriteBatch(mGraphics.GraphicsDevice); mSpriteFont = Content.Load <SpriteFont>(@"Content\SpriteFont1"); mLogoTaito = Content.Load <Texture2D>(@"Content\logoTaito"); Brick.LoadTextures(this); Prize.LoadTextures(this); Ball.LoadTextures(this); Vaus.LoadTextures(this); // Give 20 pixels of fall area height below vaus mVaus.mPosition = new Vector2(mVaus.mPosition.X, mGraphics.GraphicsDevice.Viewport.Height - 20 - Vaus.cHeight); // Load levels. Should be done after sprite creation this.LoadLevels(); base.LoadContent(); XNArkanoidGame.mGameState = eGameState.DialogMain; }