示例#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;
 }