|
Botcraft 1.21.10
|
A Decorator that always return success, independently of the result of its child. More...
#include <BehaviourTree.hpp>
Protected Member Functions | |
| virtual Status | TickImpl (Context &context) const override |
Protected Member Functions inherited from Botcraft::Decorator< Context > | |
| Status | TickChild (Context &context) const |
Additional Inherited Members | |
Public Member Functions inherited from Botcraft::Decorator< Context > | |
| 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 |
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 Attributes inherited from Botcraft::BaseNode | |
| const std::string | name |
A Decorator that always return success, independently of the result of its child.
Can be combined with an inverter for Failure.
| Context | The tree context type |
Definition at line 349 of file BehaviourTree.hpp.
|
inlineoverrideprotectedvirtual |
Implements Botcraft::Node< Context >.
Definition at line 353 of file BehaviourTree.hpp.
References Botcraft::Success, and Botcraft::Decorator< Context >::TickChild().