update statistics again if coins are collected
[supertux.git] / src / badguy / jumpy.h
1 #ifndef __JUMPY_H__
2 #define __JUMPY_H__
3
4 #include "badguy.h"
5
6 class Jumpy : public BadGuy
7 {
8 public:
9   Jumpy(const lisp::Lisp& reader);
10
11   HitResponse collision_solid(GameObject& other, const CollisionHit& hit);
12   HitResponse collision_badguy(BadGuy& other, const CollisionHit& hit);
13
14   void write(lisp::Writer& writer);
15
16 private:
17   HitResponse hit(const CollisionHit& hit);
18 };
19
20 #endif
21