57 throw LogicError(
"A child node must never return IDLE");
std::vector< TreeNode * > children_nodes_
unsigned int current_child_idx_
virtual void halt() override
Abstract base class for Behavior Tree Nodes.
FallbackNode(const std::string &name)
void haltChildren(unsigned i)
call halt() for all the children in the range [i, childrenCount() )
void setRegistrationID(StringView ID)
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
virtual BT::NodeStatus executeTick()
The method that should be used to invoke tick() and setStatus();.
virtual void halt() override
void setStatus(NodeStatus new_status)