 | CompositeTTaskDataDelegateDecideToChildren Method |
Computes the relevancy for the decide method by taking the maximum relevancy of all children.
Namespace: Slash.AI.BehaviorTrees.Implementations.CompositesAssembly: Slash.AI.BehaviorTrees (in Slash.AI.BehaviorTrees.dll) Version: 1.0.6018.40184
Syntaxprotected float DelegateDecideToChildren(
IAgentData agentData,
ref IDecisionData decisionData
)
Protected Function DelegateDecideToChildren (
agentData As IAgentData,
ByRef decisionData As IDecisionData
) As Single
protected:
float DelegateDecideToChildren(
IAgentData^ agentData,
IDecisionData^% decisionData
)
member DelegateDecideToChildren :
agentData : IAgentData *
decisionData : IDecisionData byref -> float32
Parameters
- agentData
- Type: Slash.AI.BehaviorTrees.InterfacesIAgentData
Agent data. - decisionData
- Type: Slash.AI.BehaviorTrees.InterfacesIDecisionData
Decision data.
Return Value
Type:
Single Maximum relevancy of the children.
See Also