duncan
Mom and Dad were wrong!
|
#include <map.h>
Public Member Functions | |
ServerMap (const std::string &) | |
bool | load (const std::string &) |
const std::vector< std::pair < size_t, size_t > > & | spawn () |
Store information about a map, including a list of spawn points.
see LICENSE
ServerMap::ServerMap | ( | const std::string & | str | ) |
Load the map from a file.
str | name of the file |
std::runtime_error | if map cannot be loaded |
bool ServerMap::load | ( | const std::string & | str | ) | [virtual] |
Load the map from a file.
str | name of the file |
Reimplemented from map::Map.
const std::vector< std::pair< size_t, size_t > > & ServerMap::spawn | ( | ) |
Get a reference to the list of spawn points.