Small bug
[supertux.git] / src / badguy / igel.hpp
index 14b8ee5..bdb7b75 100644 (file)
@@ -30,7 +30,7 @@ class Igel : public BadGuy
 {
 public:
   Igel(const lisp::Lisp& reader);
-  Igel(float pos_x, float pos_y, Direction d);
+  Igel(const Vector& pos, Direction d);
 
   void activate();
   void write(lisp::Writer& writer);
@@ -40,6 +40,8 @@ public:
 
   void active_update(float elapsed_time);
 
+  virtual Igel* clone() const { return new Igel(*this); }
+
 protected:
   bool collision_squished(Player& player);
   void be_normal(); /**< switch to state STATE_NORMAL */