added settras MrTree
[supertux.git] / src / badguy / mrtree.h
1 #ifndef __MRTREE_H__
2 #define __MRTREE_H__
3
4 #include "badguy.h"
5
6 class MrTree : public BadGuy
7 {
8 public:
9   MrTree(const lisp::Lisp& reader);
10
11   void activate();
12   void write(lisp::Writer& writer);
13   HitResponse collision_solid(GameObject& other, const CollisionHit& hit);
14   HitResponse collision_badguy(BadGuy& badguy, const CollisionHit& hit);
15
16 protected:
17   enum MyState {
18     STATE_BIG, STATE_NORMAL
19   };
20   MyState mystate;
21   
22   bool collision_squished(Player& player);
23 };
24
25 #endif