summaryrefslogtreecommitdiff
path: root/doc/classes/AnimatedSprite.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/AnimatedSprite.xml')
-rw-r--r--doc/classes/AnimatedSprite.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/classes/AnimatedSprite.xml b/doc/classes/AnimatedSprite.xml
index 0ee1c75348..5e63f8aec0 100644
--- a/doc/classes/AnimatedSprite.xml
+++ b/doc/classes/AnimatedSprite.xml
@@ -8,14 +8,12 @@
</description>
<tutorials>
</tutorials>
- <demos>
- </demos>
<methods>
<method name="is_playing" qualifiers="const">
<return type="bool">
</return>
<description>
- Return true if an animation if currently being played.
+ Return [code]true[/code] if an animation if currently being played.
</description>
</method>
<method name="play">
@@ -23,6 +21,8 @@
</return>
<argument index="0" name="anim" type="String" default="&quot;&quot;">
</argument>
+ <argument index="1" name="backwards" type="bool" default="false">
+ </argument>
<description>
Play the animation set in parameter. If no parameter is provided, the current animation is played. Property [code]backwards[/code] plays the animation in reverse if set to [code]true[/code].
</description>
@@ -61,6 +61,7 @@
If [code]true[/code], the [member animation] is currently playing.
</member>
<member name="speed_scale" type="float" setter="set_speed_scale" getter="get_speed_scale">
+ The animation speed is multiplied by this value.
</member>
</members>
<signals>