public override void AddChild(BehaviorNodeBase <T> child)
 {
     if (Child != null)
     {
         throw new System.ArgumentException("Decorator can only have one child!", "child");
     }
     Child = child;
 }
 public BehaviorTree(BehaviorNodeBase <T> root)
 {
     this.root = root;
 }
Exemple #3
0
 public virtual void AddChild(BehaviorNodeBase <T> child)
 {
 }