![]() |
Botcraft 1.21.4
|
#include <BehaviourTree.hpp>
Public Member Functions | |
virtual | ~Decorator () |
void | SetChild (std::shared_ptr< Node< Context > > child_) |
virtual BehaviourNodeType | GetNodeType () const override |
virtual size_t | GetNumChildren () const override |
virtual const BaseNode * | GetChild (const size_t index) const override |
![]() | |
virtual | ~Node () |
Status | Tick (Context &context) const |
![]() | |
BaseNode (const std::string &name_) | |
virtual | ~BaseNode () |
std::string | GetFullDescriptor () const |
const std::string & | GetName () const |
std::string | GetClassName () const |
Protected Member Functions | |
Status | TickChild (Context &context) const |
![]() | |
virtual Status | TickImpl (Context &context) const =0 |
Private Attributes | |
std::shared_ptr< Node< Context > > | child |
Additional Inherited Members | |
![]() | |
const std::string | name |
Definition at line 116 of file BehaviourTree.hpp.
|
inlinevirtual |
Definition at line 120 of file BehaviourTree.hpp.
|
inlineoverridevirtual |
Implements Botcraft::BaseNode.
Definition at line 137 of file BehaviourTree.hpp.
References Botcraft::Decorator< Context >::child.
|
inlineoverridevirtual |
Implements Botcraft::BaseNode.
Definition at line 127 of file BehaviourTree.hpp.
References Botcraft::Decorator.
|
inlineoverridevirtual |
Implements Botcraft::BaseNode.
Definition at line 132 of file BehaviourTree.hpp.
References Botcraft::Decorator< Context >::child.
|
inline |
Definition at line 122 of file BehaviourTree.hpp.
References Botcraft::Decorator< Context >::child.
|
inlineprotected |
Definition at line 143 of file BehaviourTree.hpp.
References Botcraft::Decorator< Context >::child, and Botcraft::BaseNode::GetFullDescriptor().
Referenced by Botcraft::Inverter< Context >::TickImpl(), Botcraft::Succeeder< Context >::TickImpl(), and Botcraft::Repeater< Context >::TickImpl().
|
private |
Definition at line 167 of file BehaviourTree.hpp.
Referenced by Botcraft::Decorator< Context >::GetChild(), Botcraft::Decorator< Context >::GetNumChildren(), Botcraft::Decorator< Context >::SetChild(), and Botcraft::Decorator< Context >::TickChild().