public BTTree(string question, string yesGuess, string noGuess) { rootNode = new BTNode(question); rootNode.setYesNode(new BTNode(yesGuess)); rootNode.setNoNode(new BTNode(noGuess)); //Serialize the object on creation this.saveQuestionTree(); }
public BTTree(string question, string yesGuess, string noGuess) { rootNode = new BTNode(question); rootNode.setYesNode(new BTNode(yesGuess)); rootNode.setNoNode(new BTNode(noGuess)); //Serialize the object on creation this.saveQuestionTree(); }