/// <summary> /// Initializes a new instance of the <see cref="TreeExecutorBehavior{T}"/> class. /// </summary> /// <param name="treeValidator">The behavior tree validator.</param> /// <param name="treeEvaluator">The behavior tree evaluator.</param> internal TreeExecutorBehavior(TreeValidator treeValidator, TreeEvaluator <T> treeEvaluator) { this.validator = treeValidator; this.evaluator = treeEvaluator; }
/// <summary> /// Initializes a new instance of the <see cref="TreeExecutorBehavior{T}"/> class. /// </summary> /// <param name="treeValidator">The behavior tree validator.</param> internal TreeExecutorBehavior(TreeValidator treeValidator) : this(treeValidator, new TreeEvaluator <T>()) { }