public void StartTree() { while (keepGoing) { userResponse = UserMenu.SelectionMenu(); RunOptionSelected(userResponse); } Environment.Exit(0); }
private void CheckRoot() { userResponse = UserMenu.GetNodeToAdd(); Node addedNode = new Node(userResponse); if (root == null) { root = addedNode; } else { AddNode(root, addedNode); } }
private void SearchNodes() { userResponse = UserMenu.GetSearchResponse(); }