projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a Segmentation Fault when mr_iceblock was kicked into a brick containing coins...
[supertux.git]
/
src
/
object
/
weak_block.hpp
diff --git
a/src/object/weak_block.hpp
b/src/object/weak_block.hpp
index
133b713
..
ad25602
100644
(file)
--- a/
src/object/weak_block.hpp
+++ b/
src/object/weak_block.hpp
@@
-33,6
+33,7
@@
public:
HitResponse collision(GameObject& other, const CollisionHit& hit);
void update(float elapsed_time);
HitResponse collision(GameObject& other, const CollisionHit& hit);
void update(float elapsed_time);
+ void draw(DrawingContext& context);
protected:
/**
protected:
/**
@@
-56,6
+57,9
@@
private:
bool linked;
virtual HitResponse collision_bullet(Bullet& bullet, const CollisionHit& hit);
bool linked;
virtual HitResponse collision_bullet(Bullet& bullet, const CollisionHit& hit);
+ Color light;
+ SpritePtr lightsprite;
+
};
#endif
};
#endif