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