SecretAreaTrigger::SecretAreaTrigger(const Rectf& area, std::string fade_tilemap) :
message_timer(),
message_displayed(),
+ message(_("You found a secret area!")),
fade_tilemap(fade_tilemap)
{
bbox = area;
private:
Timer message_timer;
bool message_displayed;
- std::string fade_tilemap; /**< tilemap to fade away when trigger is activated, or empty if you don't care */
std::string message; /**< message to display, default "You found a secret area!" */
+ std::string fade_tilemap; /**< tilemap to fade away when trigger is activated, or empty if you don't care */
};
#endif