7aea25dae73a3329641bd0c888c71e40789a9384
[supertux.git] / src / badguy / bouncing_snowball.h
1 #ifndef __BOUNCING_SNOWBALL_H__
2 #define __BOUNCING_SNOWBALL_H__
3
4 #include "badguy.h"
5
6 class BouncingSnowball : public BadGuy
7 {
8 public:
9   BouncingSnowball(LispReader& reader);
10   BouncingSnowball(float pos_x, float pos_y);
11
12   void activate();
13   void write(LispWriter& writer);
14   HitResponse collision_solid(GameObject& other, const CollisionHit& hit);
15
16 protected:
17   bool collision_squished(Player& player);
18 };
19
20 #endif
21