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;
};