Dead snowballs don't walk around.
[supertux.git] / src / badguy / flyingsnowball.hpp
index 7e78c52..7a00ddb 100644 (file)
@@ -28,6 +28,7 @@ public:
   FlyingSnowBall(const lisp::Lisp& reader);
   FlyingSnowBall(const Vector& pos);
 
+  void initialize();
   void activate();
   void write(lisp::Writer& writer);
   void active_update(float elapsed_time);
@@ -41,11 +42,10 @@ protected:
     FLY_DOWN
   };
   FlyingSnowballMode mode;
-  bool collision_squished(Player& player);
+  bool collision_squished(GameObject& object);
 private:
   Timer timer;
   Timer puff_timer; /**< time until the next smoke puff is spawned */
 };
 
 #endif
-