コード例 #1
0
        /// <summary>
        /// Loads the textures into the variables
        /// </summary>
        public void LoadContent()
        {
            obstacle.LoadContent("Graphics/bar");
            barrel.LoadContent("Graphics/barrel2");

            background = _content.Load <Texture2D>("Graphics/background");
        }