projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Made SpriteParticle work around possible bug in Sprite::set_action. /
[supertux.git]
/
src
/
object
/
block.hpp
diff --git
a/src/object/block.hpp
b/src/object/block.hpp
index
ac7bdd2
..
07b37cb
100644
(file)
--- a/
src/object/block.hpp
+++ b/
src/object/block.hpp
@@
-37,6
+37,8
@@
public:
virtual void draw(DrawingContext& context);
protected:
+ friend class FlipLevelTransformer;
+
virtual void hit(Player& player) = 0;
void start_bounce();
@@
-45,6
+47,7
@@
protected:
float bounce_dir;
float bounce_offset;
float original_y;
+
};
class BonusBlock : public Block