예제 #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
파일: Story.cs 프로젝트: eropple/sharplike
 public StoryPhase CreatePhase()
 {
     StoryPhase phase = new StoryPhase();
     phases.Add(phase);
     return phase;
 }
예제 #7
0
 public StoryVisitor(StoryPhase begin)
 {
     current = begin;
 }