|
std::string | get_basedir () const |
|
std::string | get_title () const |
|
bool | hide_from_contribs () const |
|
bool | is_levelset () const |
|
bool | is_worldmap () const |
|
std::string | get_worldmap_filename () const |
|
std::string | get_savegame_filename () const |
|
void | save (bool retry=false) |
|
|
static std::unique_ptr< World > | from_directory (const std::string &directory) |
| Load a World. More...
|
|
static std::unique_ptr< World > | create (const std::string &title, const std::string &desc) |
|
|
std::string | m_title |
|
std::string | m_description |
|
bool | m_is_levelset |
|
§ from_directory()
std::unique_ptr< World > World::from_directory |
( |
const std::string & |
directory | ) |
|
|
static |
Load a World.
- Parameters
-
directory | Directory containing the info file, e.g. "levels/world1" |
The documentation for this class was generated from the following files:
- src/supertux/world.hpp
- src/supertux/world.cpp