- fixed a warning
[supertux.git] / src / badguy.h
index 33b7ac0..87b03fe 100644 (file)
@@ -96,6 +96,7 @@ private:
   bool removable;
   bool seen;
   int squishcount; /// number of times this enemy was squiched
+  Timer frozen_timer;  // gets frozen when a ice shot hits it
   Timer timer;
   Physic physic;
 
@@ -111,6 +112,8 @@ public:
   void draw();
   std::string type() { return "BadGuy"; };
 
+  void explode(BadGuy* badguy);
+
   void collision(void* p_c_object, int c_object,
                  CollisionType type = COLLISION_NORMAL);