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

            depth++;
        }