 | TaskFindTasks Method |
Searches for tasks which forfill the passed predicate.
Namespace: Slash.AI.BehaviorTrees.ImplementationsAssembly: Slash.AI.BehaviorTrees (in Slash.AI.BehaviorTrees.dll) Version: 1.0.6018.40184
Syntaxpublic virtual void FindTasks(
TaskNode taskNode,
Func<ITask, bool> predicate,
ref ICollection<TaskNode> tasks
)
Public Overridable Sub FindTasks (
taskNode As TaskNode,
predicate As Func(Of ITask, Boolean),
ByRef tasks As ICollection(Of TaskNode)
)
public:
virtual void FindTasks(
TaskNode^ taskNode,
Func<ITask^, bool>^ predicate,
ICollection<TaskNode^>^% tasks
)
abstract FindTasks :
taskNode : TaskNode *
predicate : Func<ITask, bool> *
tasks : ICollection<TaskNode> byref -> unit
override FindTasks :
taskNode : TaskNode *
predicate : Func<ITask, bool> *
tasks : ICollection<TaskNode> byref -> unit
Parameters
- taskNode
- Type: Slash.AI.BehaviorTrees.TreeTaskNode
Task node of this task. - predicate
- Type: SystemFuncITask, Boolean
Predicate to forfill. - tasks
- Type: System.Collections.GenericICollectionTaskNode
List of tasks which forfill the passed predicate.
Implements
ITaskFindTasks(TaskNode, FuncITask, Boolean, ICollectionTaskNode)
See Also