Some more aspect ratio stuff
[supertux.git] / src / badguy / snail.hpp
index 7427f02..0d31ca8 100644 (file)
@@ -31,7 +31,7 @@ public:
   Snail(const lisp::Lisp& reader);
   Snail(const Vector& pos, Direction d);
 
-  void activate();
+  void initialize();
   void write(lisp::Writer& writer);
   void collision_solid(const CollisionHit& hit);
   HitResponse collision_badguy(BadGuy& badguy, const CollisionHit& hit);
@@ -42,7 +42,7 @@ public:
   virtual Snail* clone() const { return new Snail(*this); }
 
 protected:
-  bool collision_squished(Player& player);
+  bool collision_squished(GameObject& object);
   void be_normal(); /**< switch to state STATE_NORMAL */
   void be_flat(); /**< switch to state STATE_FLAT */
   void be_kicked(); /**< switch to state STATE_KICKED_DELAY */
@@ -61,4 +61,3 @@ private:
 };
 
 #endif
-