First attempts at making BadGuys cloneable
[supertux.git] / src / badguy / bomb.hpp
index b2da78b..abd8b9d 100644 (file)
@@ -35,6 +35,8 @@ public:
   void kill_fall();
   void explode();
 
+  virtual Bomb* clone() const { return new Bomb(*this); }
+
 private:
   enum State {
     STATE_TICKING,