Improved frozen behavior.
[supertux.git] / src / badguy.h
index 33b7ac0..0335351 100644 (file)
@@ -92,6 +92,8 @@ public:
 
   Direction dir;
 
+  Timer frozen_timer;  // gets frozen when a ice shot hits it
+
 private:
   bool removable;
   bool seen;
@@ -111,6 +113,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);