projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make Tux run automatically. As before, if he is carrying something Tux
[supertux.git]
/
src
/
object
/
block.hpp
diff --git
a/src/object/block.hpp
b/src/object/block.hpp
index
462e8ff
..
c1f78b9
100644
(file)
--- a/
src/object/block.hpp
+++ b/
src/object/block.hpp
@@
-41,9
+41,12
@@
protected:
virtual void hit(Player& player) = 0;
void start_bounce();
+ void start_break();
+ void break_me();
Sprite* sprite;
bool bouncing;
+ bool breaking;
float bounce_dir;
float bounce_offset;
float original_y;
@@
-94,4
+97,3
@@
private:
};
#endif
-