/// <summary> /// Make sure this node is added to a parent before adding nodes to this node /// </summary> /// <param name="node"></param> /// <returns></returns> public void setChild(BTNode node) { node.blackBoard = blackBoard; child = node; }
/// <summary> /// Make sure this node is added to a parent before adding nodes to this node /// </summary> /// <param name="node"></param> /// <returns></returns> public void addChild(BTNode node) { node.blackBoard = blackBoard; childs.Add(node); }