First attempts at making BadGuys cloneable
[supertux.git] / src / badguy / rocketexplosion.hpp
index 63ca12a..c76a6b8 100644 (file)
@@ -35,6 +35,8 @@ public:
   void kill_fall();
   void explode();
 
+  virtual RocketExplosion* clone() const { return new RocketExplosion(*this); }
+
 private:
   Timer timer;
 };