示例#1
0
 public StoryPhase VisitNext(int index)
 {
     DialogueOption opt = current.DialogueOptions[index];
     opt.OnOptionChosen();
     current = opt.Target;
     return current;
 }
示例#2
0
        public StoryPhase CreatePhase()
        {
            StoryPhase phase = new StoryPhase();

            phases.Add(phase);
            return(phase);
        }
示例#3
0
 public DialogueOption CreateDialogueOption(StoryPhase target)
 {
     DialogueOption opt = new DialogueOption();
     opt.Target = target;
     dopts.Add(opt);
     return opt;
 }
示例#4
0
        public DialogueOption CreateDialogueOption(StoryPhase target)
        {
            DialogueOption opt = new DialogueOption();

            opt.Target = target;
            dopts.Add(opt);
            return(opt);
        }
示例#5
0
 public StoryVisitor(StoryPhase begin)
 {
     current = begin;
 }
示例#6
0
 public StoryPhase CreatePhase()
 {
     StoryPhase phase = new StoryPhase();
     phases.Add(phase);
     return phase;
 }
示例#7
0
 public StoryVisitor(StoryPhase begin)
 {
     current = begin;
 }