projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Unstable tile: Dissolve, then disappear without falling down.
[supertux.git]
/
src
/
sprite
/
sprite.hpp
diff --git
a/src/sprite/sprite.hpp
b/src/sprite/sprite.hpp
index
24c5ed7
..
2c36b0d
100644
(file)
--- a/
src/sprite/sprite.hpp
+++ b/
src/sprite/sprite.hpp
@@
-111,6
+111,11
@@
public:
return action->surfaces[frame_];
}
+ bool has_action (const std::string& name)
+ {
+ return (data.get_action(name) != NULL);
+ }
+
private:
void update();