示例#1
0
 /// <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;
 }
示例#2
0
 /// <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>())
 {
 }