Пример #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;
 }