|
Botcraft 1.21.10
|
#include <BehaviourTree.hpp>
Public Member Functions | |
| virtual | ~Composite () |
| void | AddChild (const 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 |
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 | |
| Status | TickChild (Context &context, const size_t index) const |
Protected Member Functions inherited from Botcraft::Node< Context > | |
| virtual Status | TickImpl (Context &context) const =0 |
Private Attributes | |
| std::vector< std::shared_ptr< Node< Context > > > | children |
Additional Inherited Members | |
Protected Attributes inherited from Botcraft::BaseNode | |
| const std::string | name |
Definition at line 56 of file BehaviourTree.hpp.
|
inlinevirtual |
Definition at line 60 of file BehaviourTree.hpp.
|
inline |
Definition at line 62 of file BehaviourTree.hpp.
References Botcraft::Composite< Context >::children.
|
inlineoverridevirtual |
Implements Botcraft::BaseNode.
Definition at line 77 of file BehaviourTree.hpp.
References Botcraft::Composite< Context >::children.
|
inlineoverridevirtual |
Implements Botcraft::BaseNode.
Definition at line 67 of file BehaviourTree.hpp.
References Botcraft::Composite.
|
inlineoverridevirtual |
Implements Botcraft::BaseNode.
Definition at line 72 of file BehaviourTree.hpp.
References Botcraft::Composite< Context >::children.
Referenced by Botcraft::Sequence< Context >::TickImpl(), and Botcraft::Selector< Context >::TickImpl().
|
inlineprotected |
Definition at line 83 of file BehaviourTree.hpp.
References Botcraft::Composite< Context >::children, and Botcraft::BaseNode::GetFullDescriptor().
Referenced by Botcraft::Sequence< Context >::TickImpl(), and Botcraft::Selector< Context >::TickImpl().
|
private |
Definition at line 112 of file BehaviourTree.hpp.
Referenced by Botcraft::Composite< Context >::AddChild(), Botcraft::Composite< Context >::GetChild(), Botcraft::Composite< Context >::GetNumChildren(), and Botcraft::Composite< Context >::TickChild().