AncientChinaPuzzle4.AncientChinaPuzzle4.LoadContent C# (CSharp) Method

LoadContent() protected method

LoadContent will be called once per game and is the place to load all of your content.
protected LoadContent ( ) : void
return void
        protected override void LoadContent()
        {
            // Create a new SpriteBatch, which can be used to draw textures.
            spriteBatch = new SpriteBatch(GraphicsDevice);
            Viewport viewport = graphics.GraphicsDevice.Viewport;

            font = this.Content.Load<SpriteFont>("PuzzleFont");

            leftArrowTexture = this.Content.Load<Texture2D>("LeftArrow");
            rightArrowTexture = this.Content.Load<Texture2D>("RightArrow");
            middleArrowTexture = this.Content.Load<Texture2D>("MiddleArrow");

            backgroundDoorsTexture = this.Content.Load<Texture2D>("Doorways");
            background.X = 0;
            background.Y = 0;
            firstDoor.X = 100;
            firstDoor.Y = 200;
            secondDoor.X = 330;
            secondDoor.Y = 200;
            thirdDoor.X = 580;
            thirdDoor.Y = 200;

            arrowVector.X = 0;
            arrowVector.Y = 5;

            timerLocation.X = 5;
            timerLocation.Y = 100;

            for (int i = 0; i < 8; i++)
            {
                correctWaySequence[i] = random.Next(3);
                copySequence[i] = correctWaySequence[i];
            }
            // TODO: use this.Content to load your game content here
        }