diff options
Diffstat (limited to 'src/animatedsprite.h')
-rw-r--r-- | src/animatedsprite.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/animatedsprite.h b/src/animatedsprite.h index 32466de8..4ef1d9f7 100644 --- a/src/animatedsprite.h +++ b/src/animatedsprite.h @@ -51,16 +51,11 @@ class AnimatedSprite ~AnimatedSprite(); /** - * Sets a new action using the current direction. + * Plays an action using the current direction that will have a + * duration of the specified time, 0 means default. */ void - play(const std::string& action); - - /** - * Plays an action in a specified time. - */ - void - play(const std::string& action, int time); + play(const std::string& action, int time = 0); /** * Inform the animation of the passed time so that it can output the |