예제 #1
0
 public override void AddNode(BTNode node)
 {
     _childNode.Add(node);
 }
예제 #2
0
 public override void RemoveNode(BTNode node = null)
 {
     _childNode.Remove(node);
 }
예제 #3
0
 public virtual void RemoveNode(BTNode node = null)
 {
 }
예제 #4
0
 public virtual void AddNode(BTNode node)
 {
 }
예제 #5
0
 public override void RemoveNode(BTNode node = null)
 {
     this.node   = null;
     node.Parent = null;
 }
예제 #6
0
 public override void AddNode(BTNode node)
 {
     this.node   = node;
     node.Parent = this;
 }
예제 #7
0
 public BehaviorTree(BTNode _root)
 {
     root = _root;
 }