Esempio n. 1
0
 public ChoiceNode(string nodeName, string message, Call callOwner, prompts.Prompt prompt) : base(nodeName, callOwner)
 {
     this.nodeName  = nodeName;
     this.callOwner = callOwner;
     this.message   = message;
     player.SetPrompt(prompt);
 }
Esempio n. 2
0
 public ConfirmationNode(string nodeName, string message, Call callOwner, int confirmationNumber, prompts.Prompt prompt) : base(nodeName, callOwner)
 {
     this.nodeName           = nodeName;
     this.callOwner          = callOwner;
     this.message            = message;
     this.confirmationNumber = confirmationNumber;
     player.SetPrompt(prompt);
 }