34 if(children_count != 3)
36 throw std::logic_error(
"WhileDoElse must have either 2 or 3 children");
45 return condition_status;
std::vector< TreeNode * > children_nodes_
virtual void halt() override
WhileDoElseNode(const std::string &name)
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
void setRegistrationID(StringView ID)
NodeStatus status() const
virtual void halt() override
void setStatus(NodeStatus new_status)