projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- added quick&dirty peeking back (not exactly perfect, but better then no peeking)
[supertux.git]
/
src
/
object
/
invisible_block.hpp
diff --git
a/src/object/invisible_block.hpp
b/src/object/invisible_block.hpp
index
bada73c
..
85fbb4b
100644
(file)
--- a/
src/object/invisible_block.hpp
+++ b/
src/object/invisible_block.hpp
@@
-28,6
+28,8
@@
public:
InvisibleBlock(const Vector& pos);
virtual void draw(DrawingContext& context);
InvisibleBlock(const Vector& pos);
virtual void draw(DrawingContext& context);
+ virtual bool collides(GameObject& other, const CollisionHit& hit);
+ virtual HitResponse collision(GameObject& other, const CollisionHit& hit);
protected:
virtual void hit(Player& player);
protected:
virtual void hit(Player& player);
@@
-37,4
+39,3
@@
private:
};
#endif
};
#endif
-