|
Botcraft 1.21.10
|
#include <BehaviourTree.hpp>
Public Member Functions | |
| virtual | ~BehaviourTree () |
| void | SetRoot (const std::shared_ptr< Node< Context > > node) |
| virtual BehaviourNodeType | GetNodeType () const override |
| virtual size_t | GetNumChildren () const override |
| virtual const BaseNode * | GetChild (const size_t index) const override |
Public Member Functions inherited from Botcraft::Node< Context > | |
| virtual | ~Node () |
| Status | Tick (Context &context) const |
Public Member Functions inherited from Botcraft::BaseNode | |
| BaseNode (const std::string &name_) | |
| virtual | ~BaseNode () |
| std::string | GetFullDescriptor () const |
| const std::string & | GetName () const |
| std::string | GetClassName () const |
Protected Member Functions | |
| virtual Status | TickImpl (Context &context) const override |
Private Attributes | |
| std::shared_ptr< Node< Context > > | root |
Additional Inherited Members | |
Protected Attributes inherited from Botcraft::BaseNode | |
| const std::string | name |
Definition at line 225 of file BehaviourTree.hpp.
|
inlinevirtual |
Definition at line 229 of file BehaviourTree.hpp.
|
inlineoverridevirtual |
Implements Botcraft::BaseNode.
Definition at line 243 of file BehaviourTree.hpp.
References Botcraft::BehaviourTree< Context >::root.
|
inlineoverridevirtual |
Implements Botcraft::BaseNode.
Definition at line 233 of file BehaviourTree.hpp.
References Botcraft::Tree.
|
inlineoverridevirtual |
Implements Botcraft::BaseNode.
Definition at line 238 of file BehaviourTree.hpp.
References Botcraft::BehaviourTree< Context >::root.
|
inline |
Definition at line 231 of file BehaviourTree.hpp.
References Botcraft::BehaviourTree< Context >::root.
|
inlineoverrideprotectedvirtual |
Implements Botcraft::Node< Context >.
Definition at line 249 of file BehaviourTree.hpp.
References Botcraft::BaseNode::GetFullDescriptor(), Botcraft::BaseNode::name, and Botcraft::BehaviourTree< Context >::root.
|
private |
Definition at line 277 of file BehaviourTree.hpp.
Referenced by Botcraft::BehaviourTree< Context >::GetChild(), Botcraft::BehaviourTree< Context >::GetNumChildren(), Botcraft::BehaviourTree< Context >::SetRoot(), and Botcraft::BehaviourTree< Context >::TickImpl().