MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Update

Method Update

Source/Engine/AI/BehaviorTreeNodes.cpp:153–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153BehaviorUpdateResult BehaviorTreeCompoundNode::Update(const BehaviorUpdateContext& context)
154{
155 auto result = BehaviorUpdateResult::Success;
156 for (int32 i = 0; i < Children.Count() && result == BehaviorUpdateResult::Success; i++)
157 {
158 BehaviorTreeNode* child = Children[i];
159 result = child->InvokeUpdate(context);
160 }
161 return result;
162}
163
164void BehaviorTreeCompoundNode::BecomeIrrelevant(const BehaviorUpdateContext& context)
165{

Callers 1

InvokeUpdateMethod · 0.45

Calls 15

IsAssignableFromFunction · 0.85
DistanceFunction · 0.85
GetNavMeshFunction · 0.85
EnumHasAnyFlagsFunction · 0.85
InvokeUpdateMethod · 0.80
StopLogicMethod · 0.80
StringAnsiViewClass · 0.50
StringClass · 0.50
TransformClass · 0.50
CountMethod · 0.45
GetMethod · 0.45
HasCharsMethod · 0.45

Tested by

no test coverage detected