2022-11-01 20:31:22 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<class name="BehaviorTree" inherits="Resource" version="3.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
|
|
|
<brief_description>
|
2022-11-04 12:27:09 +00:00
|
|
|
Contains behavior tree data.
|
2022-11-01 20:31:22 +00:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
<method name="clone" qualifiers="const">
|
|
|
|
<return type="BehaviorTree" />
|
|
|
|
<description>
|
2022-11-04 12:27:09 +00:00
|
|
|
Makes a copy of behavior tree.
|
2022-11-01 20:31:22 +00:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="init">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
2022-11-04 12:27:09 +00:00
|
|
|
Initializes a loaded behavior tree, making sure tasks are properly linked.
|
2022-11-01 20:31:22 +00:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="instance" qualifiers="const">
|
|
|
|
<return type="BTTask" />
|
|
|
|
<argument index="0" name="p_agent" type="Object" />
|
|
|
|
<argument index="1" name="p_blackboard" type="Blackboard" />
|
|
|
|
<description>
|
2022-11-04 12:27:09 +00:00
|
|
|
Instantiates behavior tree and returns the root [BTTask].
|
2022-11-01 20:31:22 +00:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<members>
|
|
|
|
<member name="description" type="String" setter="set_description" getter="get_description" default="""">
|
2022-11-04 12:27:09 +00:00
|
|
|
User-provided description of BehaviorTree.
|
2022-11-01 20:31:22 +00:00
|
|
|
</member>
|
|
|
|
<member name="root_task" type="BTTask" setter="set_root_task" getter="get_root_task">
|
2022-11-04 12:27:09 +00:00
|
|
|
Stores root task.
|
2022-11-01 20:31:22 +00:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|