/// <summary> /// LoadContent will be called once per game and is the place to load /// all of your content. /// </summary> protected override void LoadContent() { spriteBatch = new SpriteBatch(GraphicsDevice); backGround = Content.Load <Texture2D>("Graphics\\Stars"); Texture2D playerTexture = Content.Load <Texture2D>("Graphics\\Player"); Player.SetTexture(playerTexture); Texture2D wallTexture = Content.Load <Texture2D>("Graphics\\Wall"); Wall.SetTexture(wallTexture); Texture2D boxTexture = Content.Load <Texture2D>("Graphics\\Box"); Box.SetTexture(boxTexture); Texture2D boxParkingTexture = Content.Load <Texture2D>("Graphics\\Box Parking"); BoxParking.SetTexture(boxParkingTexture); Texture2D floorTexture = Content.Load <Texture2D>("Graphics\\Floor"); Floor.SetTexture(floorTexture); font = Content.Load <SpriteFont>("Fonts\\GameFont"); }