60 lines
2.0 KiB
XML
60 lines
2.0 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="BTPlayer" inherits="Node" version="3.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="restart">
|
|
<return type="void" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_blackboard">
|
|
<return type="void" />
|
|
<argument index="0" name="p_blackboard" type="Blackboard" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="update">
|
|
<return type="void" />
|
|
<argument index="0" name="p_delta" type="float" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="_blackboard_data" type="Dictionary" setter="_set_blackboard_data" getter="_get_blackboard_data" default="{}">
|
|
</member>
|
|
<member name="active" type="bool" setter="set_active" getter="get_active" default="false">
|
|
</member>
|
|
<member name="auto_restart" type="bool" setter="set_auto_restart" getter="get_auto_restart" default="false">
|
|
</member>
|
|
<member name="behavior_tree" type="BehaviorTree" setter="set_behavior_tree" getter="get_behavior_tree">
|
|
</member>
|
|
<member name="blackboard" type="Blackboard" setter="" getter="get_blackboard">
|
|
</member>
|
|
<member name="prefetch_nodepath_vars" type="bool" setter="set_prefetch_nodepath_vars" getter="get_prefetch_nodepath_vars" default="true">
|
|
</member>
|
|
<member name="update_mode" type="int" setter="set_update_mode" getter="get_update_mode" enum="BTPlayer.UpdateMode" default="0">
|
|
</member>
|
|
</members>
|
|
<signals>
|
|
<signal name="behavior_tree_finished">
|
|
<argument index="0" name="p_status" type="int" />
|
|
<description>
|
|
</description>
|
|
</signal>
|
|
</signals>
|
|
<constants>
|
|
<constant name="IDLE" value="0" enum="UpdateMode">
|
|
</constant>
|
|
<constant name="PHYSICS" value="1" enum="UpdateMode">
|
|
</constant>
|
|
<constant name="MANUAL" value="2" enum="UpdateMode">
|
|
</constant>
|
|
</constants>
|
|
</class>
|