public ChoiceCommand CreateChoice(Choice choiceToReplace) { ChoiceCommand newCmd = choiceToReplace.ChoiceCommand; ChoiceCommand oldCmd = ChoiceCommand; return(new ChoiceCommand(newCmd.ChoiceId, newCmd.ChoiceJump, oldCmd.ChoiceContent)); }
protected internal override void VisitChoiceCommand(ChoiceCommand choiceCommand) { this.WriteIndent(); this.writer.WriteLine("choice {0}", string.Join("|", choiceCommand.Choices)); }
public Choice(SceneInfo script, ChoiceCommand choiceCommand) { Script = script; ChoiceCommand = choiceCommand; }