Esempio n. 1
0
 public virtual bool CanBeMyChild(BTNode inNode)
 {
     return(false);
 }
Esempio n. 2
0
 public bool ContainChild(BTNode inNode)
 {
     return(childrenNodes.Contains(inNode));
 }
Esempio n. 3
0
 public void AddChild(BTNode inNode)
 {
     childrenNodes.Add(inNode);
 }
Esempio n. 4
0
 public void RemoveChild(BTNode inNode)
 {
     childrenNodes.Remove(inNode);
 }
 public void Clear()
 {
     treeRoot = null;
 }