summaryrefslogtreecommitdiff
path: root/doc/classes/AnimationNodeStateMachine.xml
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-08-21 00:35:30 +0200
committerRémi Verschelde <rverschelde@gmail.com>2018-08-21 00:35:46 +0200
commit4ea3e4f551f3f364bd77242a1bc541e9b018f62e (patch)
tree4a81b3c924191eebb1b549373107b37bec21c5c2 /doc/classes/AnimationNodeStateMachine.xml
parent5dc2b12efa161ca48d893fc930ff5501ba51e809 (diff)
doc: Sync classref with current source
Diffstat (limited to 'doc/classes/AnimationNodeStateMachine.xml')
-rw-r--r--doc/classes/AnimationNodeStateMachine.xml54
1 files changed, 16 insertions, 38 deletions
diff --git a/doc/classes/AnimationNodeStateMachine.xml b/doc/classes/AnimationNodeStateMachine.xml
index ad40f20db1..ed4098d938 100644
--- a/doc/classes/AnimationNodeStateMachine.xml
+++ b/doc/classes/AnimationNodeStateMachine.xml
@@ -16,6 +16,8 @@
</argument>
<argument index="1" name="node" type="AnimationNode">
</argument>
+ <argument index="2" name="position" type="Vector2" default="Vector2( 0, 0 )">
+ </argument>
<description>
</description>
</method>
@@ -31,12 +33,6 @@
<description>
</description>
</method>
- <method name="get_current_node" qualifiers="const">
- <return type="String">
- </return>
- <description>
- </description>
- </method>
<method name="get_end_node" qualifiers="const">
<return type="String">
</return>
@@ -65,6 +61,14 @@
<description>
</description>
</method>
+ <method name="get_node_position" qualifiers="const">
+ <return type="Vector2">
+ </return>
+ <argument index="0" name="name" type="String">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="get_start_node" qualifiers="const">
<return type="String">
</return>
@@ -101,12 +105,6 @@
<description>
</description>
</method>
- <method name="get_travel_path" qualifiers="const">
- <return type="PoolStringArray">
- </return>
- <description>
- </description>
- </method>
<method name="has_node" qualifiers="const">
<return type="bool">
</return>
@@ -115,21 +113,13 @@
<description>
</description>
</method>
- <method name="has_transition">
- <return type="void">
+ <method name="has_transition" qualifiers="const">
+ <return type="bool">
</return>
<argument index="0" name="from" type="String">
</argument>
<argument index="1" name="to" type="String">
</argument>
- <argument index="2" name="arg2" type="AnimationNodeStateMachineTransition">
- </argument>
- <description>
- </description>
- </method>
- <method name="is_playing" qualifiers="const">
- <return type="bool">
- </return>
<description>
</description>
</method>
@@ -185,32 +175,20 @@
<description>
</description>
</method>
- <method name="set_start_node">
+ <method name="set_node_position">
<return type="void">
</return>
<argument index="0" name="name" type="String">
</argument>
- <description>
- </description>
- </method>
- <method name="start">
- <return type="void">
- </return>
- <argument index="0" name="node" type="String">
+ <argument index="1" name="position" type="Vector2">
</argument>
<description>
</description>
</method>
- <method name="stop">
+ <method name="set_start_node">
<return type="void">
</return>
- <description>
- </description>
- </method>
- <method name="travel">
- <return type="bool">
- </return>
- <argument index="0" name="to_node" type="String">
+ <argument index="0" name="name" type="String">
</argument>
<description>
</description>