Class BehaviorTreeKnowledgeBooleanDecorator
Checks certain knowledge value to conditionally enter the node if the value is set (eg. not-null object reference or boolean value).
Inheritance
BehaviorTreeKnowledgeBooleanDecorator
Inherited Members
BehaviorTreeKnowledgeBooleanDecorator
BehaviorTreeKnowledgeBooleanDecorator
BehaviorTreeKnowledgeBooleanDecorator
BehaviorTreeKnowledgeBooleanDecorator
Assembly: FlaxEngine.dll
File: Engine/AI/BehaviorTreeNodes.h
Syntax
public class BehaviorTreeKnowledgeBooleanDecorator : public BehaviorTreeDecorator
Methods
CanUpdate(const BehaviorUpdateContext& context)
Checks if the node can be updated (eg. decorator can block it depending on the gameplay conditions or its state).
Declaration
public virtual bool CanUpdate(const BehaviorUpdateContext& context) override
Parameters
BehaviorUpdateContext
context
Behavior update context data. |
Returns
bool
True if can update, otherwise false to block it. |
Overrides
BehaviorTreeDecorator.CanUpdate(const BehaviorUpdateContext &)