Small style fix
[supertux.git] / src / object / infoblock.hpp
index 28157ae..8648566 100644 (file)
@@ -33,14 +33,15 @@ public:
 
 protected:
   virtual void hit(Player& player);
+  virtual HitResponse collision(GameObject& other, const CollisionHit& hit);
+  Player* get_nearest_player();
+
+protected:
   std::string message;
   //AmbientSound* ringing;
   //bool stopped;
   float shown_pct; /**< Value in the range of 0..1, depending on how much of the infobox is currently shown */
   float dest_pct; /**< With each call to update(), shown_pct will slowly transition to this value */
-
-  Player* get_nearest_player();
-
   std::vector<InfoBoxLine*> lines; /**< lines of text (or images) to display */
   float lines_height;
 };