Exemple #1
0
 public Node(string title, Node parent)
 {
     this.title = title;
     this.parent = parent;
     answers = new List<Answer>();
     successor = null;
     id = Guid.NewGuid().ToString();
 }
Exemple #2
0
 public void removeNode(Node n)
 {
     this.nodes.Remove(n);
 }
Exemple #3
0
 public void addNode(string title, Node parent)
 {
     this.nodes.Add(new Node(title, parent));
 }
Exemple #4
0
 public void addNode(Node n)
 {
     this.nodes.Add(n);
 }
 public EndNode(string title, Node parent)
     : base(title, parent)
 {
 }