public void SetStories() { hardMythList = writer.ReadTFromJson(); foreach (Myth myth in hardMythList.GetArray()) { myth.SetDefault(); } if (activeStories == null || activeStories.Count == 0) { Story startStory = (Story)hardMythList.GetIndexedData(new int[] { 1, 0 }); activeStories.Add(startStory); StoryIndex startIndex = new StoryIndex(new int[] { 1, 0, 0, 0 }); startStory.ActivateThread(startIndex); } ProgressStory(); }
public void ActivateStory(StoryIndex sentIndex) { Story story = (Story)hardMythList.GetIndexedData(new int[] { sentIndex.MythID, sentIndex.StoryID }); activeStories.Add(story); story.ActivateThread(sentIndex); }