57 throw LogicError(
"A child node must never return IDLE");
std::vector< TreeNode * > children_nodes_
virtual void halt() override
SequenceStarNode(const std::string &name)
Abstract base class for Behavior Tree Nodes.
virtual void halt() override
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.
unsigned int current_child_idx_
virtual BT::NodeStatus executeTick()
The method that should be used to invoke tick() and setStatus();.
void setStatus(NodeStatus new_status)