Platformer.PlatformerGame.LoadStory C# (CSharp) Method

LoadStory() private method

Loads a story file which lists all of the levels that should be preloaded.
private LoadStory ( ) : void
return void
        private void LoadStory()
        {
            // Unloads the content for the current level before loading the next one.
            //map.Dispose();

            // Load the level.
            string storyPath = "Content/Story/story.csv";
            map.LoadStory(storyPath);
        }