Example #1
0
 protected BTNodeBase(BTNodeBase parentNode, BTPreCondition preCondition = null)
 {
     _childNodes   = new List <BTNodeBase> ();
     _parentNode   = parentNode;
     _preCondition = preCondition;
     _isActiveNode = false;
 }
Example #2
0
 public BTControlNodeBase(BTNodeBase parentNode, BTPreCondition preCondition = null) : base(parentNode, preCondition)
 {
 }
Example #3
0
 public BTActionNodeBase(BTNodeBase parentNode, BTPreCondition preCondition = null) : base(parentNode, preCondition)
 {
     _isActiveNode = true;
 }
Example #4
0
 public BTControlNodeParallel(BTNodeBase parentNode, BTPreCondition preCondition = null) : base(parentNode, preCondition)
 {
     _childNodesStatus = new List <BTRunningStatus> ();
 }