Use run_dead_script wherever possible and make kill_* operations only do stuff once
[supertux.git] / src / badguy / mrbomb.hpp
index 4f28ce6..14f326d 100644 (file)
@@ -41,21 +41,11 @@ public:
   bool is_portable() const;
 
   void freeze();
-  void unfreeze();
   bool is_freezable() const;
 
-  void explode();
+  virtual MrBomb* clone() const { return new MrBomb(*this); }
 
 protected:
-  enum State {
-    STATE_IDLE,
-    STATE_TICKING
-  };
-
-  State state;
-  std::auto_ptr<SoundSource> ticking;
-  Timer ticking_timer;
-
   bool collision_squished(GameObject& object);
 
 private: