Mania++
 All Classes Functions Variables Pages
MapList.h
1 #ifndef MAPLIST_H_
2 #define MAPLIST_H_
3 
4 #include "../Objects/Map.h"
5 
6 //* MapList
10 class MapList
11 {
12 public:
13  std::map<std::string, Map> List;
14  Map* Current = NULL;
21  void SetCurrentMap(std::string uid);
22 };
23 
24 #endif // MAPLIST_H_
Contains all information about a map in easy-to-use format.
Definition: Map.h:10
Contains the maplist and a pointer to the current map.
Definition: MapList.h:10
Map * Current
Pointer to the current map (in the list).
Definition: MapList.h:14
void SetCurrentMap(std::string uid)
Sets the current map to the one belonging to the unique identifier.
Definition: MapList.cpp:3
std::map< std::string, Map > List
List of all maps on the server.
Definition: MapList.h:13