summaryrefslogtreecommitdiffstats
path: root/scene/2d/animated_sprite.h
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 /scene/2d/animated_sprite.h
parent6a69f92370ba82befdfdf3c2f798b6b2fd6df1fb (diff)
downloadredot-engine-296af5276f920c89d313dfa6d921fb4d94a1a40e.tar.gz
SpriteFrames: expose method to get array containing animation names
Diffstat (limited to 'scene/2d/animated_sprite.h')
-rw-r--r--scene/2d/animated_sprite.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/animated_sprite.h b/scene/2d/animated_sprite.h
index be5b1ef6d6..b9dd840518 100644
--- a/scene/2d/animated_sprite.h
+++ b/scene/2d/animated_sprite.h
@@ -72,6 +72,7 @@ public:
void rename_animation(const StringName &p_prev, const StringName &p_next);
void get_animation_list(List<StringName> *r_animations) const;
+ Vector<String> get_animation_names() const;
void set_animation_speed(const StringName &p_anim, float p_fps);
float get_animation_speed(const StringName &p_anim) const;