MCPcopy Create free account
hub / github.com/BehaviorTree/Groot / rootNode

Method rootNode

bt_editor/bt_editor_base.cpp:16–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16AbstractTreeNode *AbsBehaviorTree::rootNode()
17{
18 if( _nodes.empty() ) return nullptr;
19 return &_nodes.front();
20}
21
22const AbstractTreeNode *AbsBehaviorTree::rootNode() const
23{

Callers 5

saveToXMLMethod · 0.80
RecursiveNodeReorderFunction · 0.80
createSubtreeMethod · 0.80
loadSceneFromTreeMethod · 0.80
appendTreeToNodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected