supertux
Public Member Functions | Static Public Member Functions | List of all members
Savegame Class Referencefinal

Public Member Functions

 Savegame (Profile &profile, const std::string &world_name)
 
Profileget_profile () const
 
std::string get_filename () const
 
PlayerStatusget_player_status () const
 Returns content of (tux ...) entry.
 
std::string get_title () const
 
std::vector< std::string > get_levelsets ()
 
LevelsetState get_levelset_state (const std::string &name)
 
void set_levelset_state (const std::string &basedir, const std::string &level_filename, bool solved)
 
std::vector< std::string > get_worldmaps ()
 
WorldmapState get_worldmap_state (const std::string &name)
 
void save ()
 
bool is_title_screen () const
 

Static Public Member Functions

static std::unique_ptr< Savegamefrom_profile (int profile, const std::string &world_name, bool base_data=false)
 
static std::unique_ptr< Savegamefrom_current_profile (const std::string &world_name, bool base_data=false)
 

The documentation for this class was generated from the following files: