public void addCurrChildren(pieceMove[] data) { for (int i = 0; i < data.Length; i++) { currNode.addChild(new MoveNode(currNode, data[i], null)); } }
public void addLevel(MoveNode parent, pieceMove[] data) { for (int i = 0; i < data.Length; i++) { parent.addChild(new MoveNode(parent, data[i], null)); } depth++; }