/** * \brief Returns whether this treasure is saved. * \return true if this treasure is saved. */ bool Treasure::is_saved() const { return !get_savegame_variable().empty(); }
/** * @brief Returns whether the state of this door is saved. * @return \c true if this door is saved. */ bool Door::is_saved() const { return !get_savegame_variable().empty(); }