aboutsummaryrefslogtreecommitdiff
path: root/scene/animation/animation_player.h
diff options
context:
space:
mode:
authorJuan Linietsky2015-05-25 01:46:45 -0300
committerJuan Linietsky2015-05-25 01:47:02 -0300
commitf36e7dcb405ead38c33d808f732fd7b4e23d19e5 (patch)
treec9c32ce63935fbb3670ae51b921d1a0d1992256f /scene/animation/animation_player.h
parentf8f3362cab16ddfbc1d954ecadbccd4838200769 (diff)
downloadgodot-f36e7dcb405ead38c33d808f732fd7b4e23d19e5.tar.gz
godot-f36e7dcb405ead38c33d808f732fd7b4e23d19e5.tar.zst
godot-f36e7dcb405ead38c33d808f732fd7b4e23d19e5.zip
Diffstat (limited to 'scene/animation/animation_player.h')
-rw-r--r--scene/animation/animation_player.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/animation_player.h b/scene/animation/animation_player.h
index 8d7d6d04e..3fddc283a 100644
--- a/scene/animation/animation_player.h
+++ b/scene/animation/animation_player.h
@@ -260,7 +260,7 @@ public:
void play(const StringName& p_name=StringName(),float p_custom_blend=-1,float p_custom_scale=1.0,bool p_from_end=false);
void queue(const StringName& p_name);
void clear_queue();
- void stop();
+ void stop(bool p_reset=true);
bool is_playing() const;
String get_current_animation() const;
void set_current_animation(const String& p_anim);