return i->second;
}
-const std::string&
-Level::get_sector_name(const Sector* sector)
-{
- for(Sectors::iterator i = sectors.begin(); i != sectors.end(); ++i)
- {
- if(i->second == sector)
- return i->first;
- }
- std::cerr << "Warning: Sector not found on level\n";
- return "";
-}
-
Sector*
Level::get_next_sector(const Sector* sector)
{
Sector* get_next_sector(const Sector* sector);
Sector* get_previous_sector(const Sector* sector);
- const std::string& get_sector_name(const Sector* sector);
-
int get_total_sectors();
int get_total_badguys();