diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2018-07-17 14:54:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-17 14:54:06 +0200 |
commit | b64bf118f11aaf083b4dcad790e8acdaa809c158 (patch) | |
tree | ac12a0161459173cb024043bc2e10b0f5cae184a /scene/2d/animated_sprite.h | |
parent | 8b03df24e45241b802dddb6e8423eebee6d25b27 (diff) | |
parent | 296af5276f920c89d313dfa6d921fb4d94a1a40e (diff) | |
download | redot-engine-b64bf118f11aaf083b4dcad790e8acdaa809c158.tar.gz |
Merge pull request #19087 from danvalho/master
SpriteFrames: expose method to get array containing animation names
Diffstat (limited to 'scene/2d/animated_sprite.h')
-rw-r--r-- | scene/2d/animated_sprite.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/animated_sprite.h b/scene/2d/animated_sprite.h index 806052a696..f6586aff36 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; |