예제 #1
0
 /// <summary>
 /// Adds a child to the task. Can add only one child.
 /// </summary>
 /// <param name="child">Child.</param>
 public override sealed void AddChild(Task child)
 {
     if (Children.Count >= 1) {
         // TODO: EXCEPTION
     }
     Children.Add(child);
 }
예제 #2
0
 public Limit(Task task, int runLimit)
     : base(task)
 {
     if (runLimit<0) {
         // TODO: EXCEPTION
     }
     RunLimit = runLimit;
 }
예제 #3
0
 public UntilFail(Task task)
     : base(task)
 {
 }
예제 #4
0
 public Decorator(Task task)
     : base()
 {
     Children.Add(task);
 }
예제 #5
0
 /// <summary>
 /// Adds a child to the task.
 /// </summary>
 /// <param name="child">Child.</param>
 public virtual void AddChild(Task child)
 {
     Children.Add(child);
 }
예제 #6
0
 public BlackboardManager(Task task)
     : base(task)
 {
 }