Exemplo n.º 1
0
 /// <summary>
 /// This method will set a task as this task's control (parent)
 /// </summary>
 /// <param name="parent">the parent task</param>
 /// <param name="parentStream">the stream of the parent task</param>
 public void SetControl(TaskId parent, BehaviorStream <T> parentStream)
 {
     this.Control = parent;
     this.Stream  = parentStream;
 }
Exemplo n.º 2
0
 public GuardEvaluator(BehaviorStream <T> stream)
 {
     this.Stream = stream;
 }
Exemplo n.º 3
0
 // -------------------------------------------------------------------
 // Constructor
 // -------------------------------------------------------------------
 public BehaviorTreeBuilder()
 {
     this.parentStack = new Stack <TaskId>();
     this.stream      = new BehaviorStream <T>();
 }