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

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

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