|
NoJobEngine 2.0.7
|
#include <BTSelector.h>
Public Member Functions | |
| BTSelector (BTNodeID id) | |
| void | AddChild (std::unique_ptr< BTNode > child) |
| std::string | DebugLabel () const override |
| BTStatus | Tick (BTContext &context, float dt) const override |
| Evaluates this node for one update. | |
| void | Reset (BTContext &context) const override |
| void | CollectChildren (std::vector< const BTNode * > &out) const override |
| Public Member Functions inherited from NoJob::BTNode | |
| BTNode (BTNodeID id) | |
| virtual | ~BTNode ()=default |
| BTNode (const BTNode &)=delete | |
| BTNode & | operator= (const BTNode &)=delete |
| BTNodeID | GetID () const |
Definition at line 13 of file BTSelector.h.
|
inlineexplicit |
Definition at line 15 of file BTSelector.h.
References NoJob::BTNode::BTNode().
|
inline |
Definition at line 16 of file BTSelector.h.
|
inlineoverridevirtual |
Reimplemented from NoJob::BTNode.
Definition at line 65 of file BTSelector.h.
|
inlineoverridevirtual |
Reimplemented from NoJob::BTNode.
Definition at line 19 of file BTSelector.h.
|
inlineoverridevirtual |
Reimplemented from NoJob::BTNode.
Definition at line 61 of file BTSelector.h.
References NoJob::BTNode::Reset().
Referenced by Tick().
|
inlineoverridevirtual |
Evaluates this node for one update.
| context | Per-agent execution context. |
| deltaTime | Time elapsed since the previous tick. |
Implements NoJob::BTNode.
Definition at line 20 of file BTSelector.h.
References NoJob::BTContext::ConsumeReevaluation(), NoJob::BTNodeRuntimeState::CurrentChild, NoJob::BTContext::Emit(), NoJob::Failure, NoJob::BTNode::GetID(), NoJob::BTContext::GetNodeState(), Reset(), NoJob::Running, and NoJob::Success.