/// <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; }
public GuardEvaluator(BehaviorStream <T> stream) { this.Stream = stream; }
// ------------------------------------------------------------------- // Constructor // ------------------------------------------------------------------- public BehaviorTreeBuilder() { this.parentStack = new Stack <TaskId>(); this.stream = new BehaviorStream <T>(); }