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