summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authordanvalho <danvalho@gmail.com>2018-05-21 19:50:01 +0200
committerdanvalho <danvalho@gmail.com>2018-06-05 13:07:30 +0200
commit296af5276f920c89d313dfa6d921fb4d94a1a40e (patch)
tree24ee8c7e8e1fef8914a1d148293e25477ab4f285 /doc/classes
parent6a69f92370ba82befdfdf3c2f798b6b2fd6df1fb (diff)
SpriteFrames: expose method to get array containing animation names
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/SpriteFrames.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/SpriteFrames.xml b/doc/classes/SpriteFrames.xml
index e806547b7d..57fdb5466e 100644
--- a/doc/classes/SpriteFrames.xml
+++ b/doc/classes/SpriteFrames.xml
@@ -127,6 +127,13 @@
Changes the animation's name to [code]newname[/code].
</description>
</method>
+ <method name="get_animation_names">
+ <return type="PoolStringArray">
+ </return>
+ <description>
+ Returns an array containing the names associated to each animation. Values are placed in alphabetical order.
+ </description>
+ </method>
<method name="set_animation_loop">
<return type="void">
</return>