summaryrefslogtreecommitdiff
path: root/scene/2d/animated_sprite.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-09-13 02:32:51 +0200
committerGitHub <noreply@github.com>2018-09-13 02:32:51 +0200
commitf6481d1694e3efc87998efc5fe4bf183a5abcb8f (patch)
tree6b170e891f275c76ed510f87b9125ff229cc0cc1 /scene/2d/animated_sprite.h
parentf438d311aef98a366b987608e5e5e5601d7cbbaa (diff)
Revert "Drop deprecated compatibility methods from AnimatedSprite"
Diffstat (limited to 'scene/2d/animated_sprite.h')
-rw-r--r--scene/2d/animated_sprite.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/scene/2d/animated_sprite.h b/scene/2d/animated_sprite.h
index 672c9ef327..cc49465403 100644
--- a/scene/2d/animated_sprite.h
+++ b/scene/2d/animated_sprite.h
@@ -54,6 +54,12 @@ class SpriteFrames : public Resource {
Map<StringName, Anim> animations;
+ Array _get_frames() const;
+ void _set_frames(const Array &p_frames);
+
+ Array _get_animations() const;
+ void _set_animations(const Array &p_animations);
+
Vector<String> _get_animation_list() const;
protected: