yeti summons snowballs now
[supertux.git] / src / badguy / yeti.h
index 3910097..5e42965 100644 (file)
@@ -12,13 +12,16 @@ public:
   void write(lisp::Writer& writer);
   void active_action(float elapsed_time);
   HitResponse collision_solid(GameObject& other, const CollisionHit& hit);
+  HitResponse collision_player(Player& player, const CollisionHit& hit);
   bool collision_squished(Player& player);
+  void kill_fall();
 
 private:
   void go_right();
   void go_left();
   void angry_jumping();
   void drop_stalactite();
+  void summon_snowball();
   
   enum YetiState {
     INIT,
@@ -27,15 +30,12 @@ private:
     GO_RIGHT,
     GO_LEFT
   };
-  enum Side {
-    LEFT,
-    RIGHT
-  };
-  Side side;
+  Direction side;
   YetiState state;
   Timer2 timer;
   int jumpcount;
   Mix_Chunk* sound_gna;
+  Mix_Chunk* sound_roar;
 };
 
 #endif