public StoryPhase VisitNext(int index) { DialogueOption opt = current.DialogueOptions[index]; opt.OnOptionChosen(); current = opt.Target; return current; }
public StoryPhase CreatePhase() { StoryPhase phase = new StoryPhase(); phases.Add(phase); return(phase); }
public DialogueOption CreateDialogueOption(StoryPhase target) { DialogueOption opt = new DialogueOption(); opt.Target = target; dopts.Add(opt); return opt; }
public DialogueOption CreateDialogueOption(StoryPhase target) { DialogueOption opt = new DialogueOption(); opt.Target = target; dopts.Add(opt); return(opt); }
public StoryVisitor(StoryPhase begin) { current = begin; }
public StoryPhase CreatePhase() { StoryPhase phase = new StoryPhase(); phases.Add(phase); return phase; }
public StoryVisitor(StoryPhase begin) { current = begin; }