Пример #1
0
        public ChoiceCommand CreateChoice(Choice choiceToReplace)
        {
            ChoiceCommand newCmd = choiceToReplace.ChoiceCommand;
            ChoiceCommand oldCmd = ChoiceCommand;

            return(new ChoiceCommand(newCmd.ChoiceId, newCmd.ChoiceJump, oldCmd.ChoiceContent));
        }
Пример #2
0
 protected internal override void VisitChoiceCommand(ChoiceCommand choiceCommand)
 {
     this.WriteIndent();
     this.writer.WriteLine("choice {0}", string.Join("|", choiceCommand.Choices));
 }
Пример #3
0
 public Choice(SceneInfo script, ChoiceCommand choiceCommand)
 {
     Script        = script;
     ChoiceCommand = choiceCommand;
 }