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

Public Member Functions

std::string get_basename () const
 
const std::string & get_basedir () const
 
const std::string & get_title () const
 
const std::string & get_description () const
 
bool hide_from_contribs () const
 
bool is_levelset () const
 
bool is_worldmap () const
 
const std::string & get_contrib_type () const
 
const std::string & get_title_level () const
 
std::string get_worldmap_filename () const
 
void save (bool retry=false)
 

Static Public Member Functions

static std::unique_ptr< Worldfrom_directory (const std::string &directory)
 Load a World. More...
 
static std::unique_ptr< Worldcreate (const std::string &title, const std::string &desc)
 

Friends

class EditorLevelsetMenu
 

Member Function Documentation

◆ from_directory()

std::unique_ptr< World > World::from_directory ( const std::string &  directory)
static

Load a World.

Parameters
directoryDirectory containing the info file, e.g. "levels/world1"

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