public Answer PositiveAnswer = Answer.Yes; //"Нет" public DialogNode(string question, DialogNode positiveNode, DialogNode negativeNode, Answer positiveAnswer) { Question = question; PositiveNode = positiveNode; NegativeNode = negativeNode; PositiveAnswer = positiveAnswer; }
public DialogTree(DialogNode current) { Current = current; }
public void PushAnswer(Answer answer) { Current = Current.CheckAnswer(answer); }
public DialogTreeBuilderNode(DialogNode node, int id) { Node = node; Id = id; }