projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update for backscrolling, badguy behaviour
[supertux.git]
/
src
/
scripting
/
player.hpp
diff --git
a/src/scripting/player.hpp
b/src/scripting/player.hpp
index
047ea82
..
729ead9
100644
(file)
--- a/
src/scripting/player.hpp
+++ b/
src/scripting/player.hpp
@@
-65,6
+65,12
@@
public:
* inivisible by the set_visible method)
*/
virtual bool get_visible() = 0;
+
+ /**
+ * Hurts a player, if completely=true then the player will be killed even
+ * if he had grow or fireflower bonus
+ */
+ virtual void kill(bool completely) = 0;
};
}