![]() |
Botcraft 1.21.4
|
#include <BaseNode.hpp>
Public Member Functions | |
BaseNode (const std::string &name_) | |
virtual | ~BaseNode () |
virtual BehaviourNodeType | GetNodeType () const =0 |
virtual size_t | GetNumChildren () const =0 |
virtual const BaseNode * | GetChild (const size_t index) const =0 |
std::string | GetFullDescriptor () const |
const std::string & | GetName () const |
std::string | GetClassName () const |
Protected Attributes | |
const std::string | name |
Definition at line 15 of file BaseNode.hpp.
Botcraft::BaseNode::BaseNode | ( | const std::string & | name_ | ) |
Definition at line 9 of file BaseNode.cpp.
|
virtual |
Definition at line 14 of file BaseNode.cpp.
|
pure virtual |
std::string Botcraft::BaseNode::GetClassName | ( | ) | const |
Definition at line 29 of file BaseNode.cpp.
Referenced by GetFullDescriptor(), and Botcraft::Renderer::UnrollTreeStructure().
std::string Botcraft::BaseNode::GetFullDescriptor | ( | ) | const |
Definition at line 19 of file BaseNode.cpp.
References GetClassName(), and name.
Referenced by Botcraft::Decorator< Context >::TickChild(), Botcraft::Composite< Context >::TickChild(), and Botcraft::BehaviourTree< Context >::TickImpl().
const std::string & Botcraft::BaseNode::GetName | ( | ) | const |
Definition at line 24 of file BaseNode.cpp.
References name.
Referenced by Botcraft::TemplatedBehaviourClient< TDerived >::OnTreeChanged(), and Botcraft::Renderer::UnrollTreeStructure().
|
pure virtual |
|
pure virtual |
|
protected |
Definition at line 31 of file BaseNode.hpp.
Referenced by GetFullDescriptor(), GetName(), Botcraft::Leaf< Context >::TickImpl(), and Botcraft::BehaviourTree< Context >::TickImpl().