First attempts at making BadGuys cloneable
[supertux.git] / src / badguy / yeti.hpp
index b9d4f45..30a6744 100644 (file)
@@ -38,6 +38,8 @@ public:
   void kill_squished(Player& player);
   void kill_fall();
 
+  virtual Yeti* clone() const { return new Yeti(*this); }
+
 private:
   void run();
   void jump_up();