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