Shrunk cherry bomb a little, fixed bounding boxes. /
[supertux.git] / src / badguy / skullyhop.hpp
index 6e86119..b3acd86 100644 (file)
@@ -30,7 +30,7 @@ class SkullyHop : public BadGuy
 {
 public:
   SkullyHop(const lisp::Lisp& reader);
-  SkullyHop(float pos_x, float pos_y, Direction d);
+  SkullyHop(const Vector& pos, Direction d);
 
   void activate();
   void write(lisp::Writer& writer);
@@ -39,6 +39,8 @@ public:
   bool collision_squished(Player& player);
   void active_update(float elapsed_time);
 
+  virtual SkullyHop* clone() const { return new SkullyHop(*this); }
+
 protected:
   enum SkullyHopState {
     STANDING,