projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed next action behavior.
[supertux.git]
/
lib
/
special
/
sprite.h
diff --git
a/lib/special/sprite.h
b/lib/special/sprite.h
index
54f3476
..
4906aff
100644
(file)
--- a/
lib/special/sprite.h
+++ b/
lib/special/sprite.h
@@
-64,9
+64,8
@@
namespace SuperTux
/* Start an animation
-1 - for infinite
0 - stopped
/* Start an animation
-1 - for infinite
0 - stopped
- 1,2,3 - one, two, three times...
- If next_act specified, that action will be used when animation ends. */
- void start_animation(int loops, std::string next_act = "");
+ 1,2,3 - one, two, three times... */
+ void start_animation(int loops);
/** Check if animation is stopped or not */
bool check_animation();
/** Reverse the animation */
/** Check if animation is stopped or not */
bool check_animation();
/** Reverse the animation */
@@
-117,7
+116,7
@@
namespace SuperTux
Actions actions;
Action* action;
Actions actions;
Action* action;
-
std::string next_action;
+ std::string next_action;
};
} //namespace SuperTux
};
} //namespace SuperTux