public NodeFollower(Machine machine, Node startNode, NodeFollower parent) { this._machine = machine; this._model = machine._model; this.name = machine.name; this.startNode = startNode; this.Parent = parent; if (Parent != null) { parent.Children.Add(this); } }
public void FinishChild(NodeFollower child) { Children.Remove(child); }