/// <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); }
public Limit(Task task, int runLimit) : base(task) { if (runLimit<0) { // TODO: EXCEPTION } RunLimit = runLimit; }
public UntilFail(Task task) : base(task) { }
public Decorator(Task task) : base() { Children.Add(task); }
/// <summary> /// Adds a child to the task. /// </summary> /// <param name="child">Child.</param> public virtual void AddChild(Task child) { Children.Add(child); }
public BlackboardManager(Task task) : base(task) { }