|
supertux
|
Represents a collection of Sectors running in a single GameSession. More...
#include <level.hpp>

Public Member Functions | |
| Level (bool m_is_worldmap) | |
| void | save (const std::string &filename, bool retry=false) |
| void | save (std::ostream &stream) |
| void | add_sector (std::unique_ptr< Sector > sector) |
| const std::string & | get_name () const |
| const std::string & | get_author () const |
| Sector * | get_sector (const std::string &name) const |
| size_t | get_sector_count () const |
| Sector * | get_sector (size_t num) const |
| const std::vector< std::unique_ptr< Sector > > & | get_sectors () const |
| std::vector< Player * > | get_players () const |
| const std::string & | get_tileset () const |
| int | get_total_coins () const |
| int | get_total_badguys () const |
| int | get_total_secrets () const |
| void | reactivate () |
| bool | is_worldmap () const |
| const std::string & | get_license () const |
Static Public Member Functions | |
| static Level * | current () |
Public Attributes | |
| bool | m_is_worldmap |
| std::string | m_name |
| std::string | m_author |
| std::string | m_contact |
| std::string | m_license |
| std::string | m_filename |
| std::string | m_note |
| std::vector< std::unique_ptr< Sector > > | m_sectors |
| Statistics | m_stats |
| float | m_target_time |
| std::string | m_tileset |
| bool | m_suppress_pause_menu |
| bool | m_is_in_cutscene |
| bool | m_skip_cutscene |
| std::string | m_icon |
| std::string | m_icon_locked |
| std::string | m_wmselect_bkg |
Friends | |
| class | LevelParser |
Represents a collection of Sectors running in a single GameSession.
Each Sector in turn contains GameObjects, e.g. Badguys and Players.
1.8.13