40 cMap *
CreateMap(
int a_CenterX,
int a_CenterY,
unsigned int a_Scale = 3);
cMap * CreateMap(int a_CenterX, int a_CenterY, unsigned int a_Scale=3)
Creates a new map.
std::vector< cMap > cMapList
cMapManager(cWorld *a_World)
Encapsulates an in-game world map.
void TickMaps(void)
Ticks each registered map.
void SaveMapData(void)
Saves the map data to the disk.
Manages the in-game maps of a single world - Thread safe.
void LoadMapData(void)
Loads the map data from the disk.
bool DoWithMap(UInt32 a_ID, cMapCallback a_Callback)
Calls the callback for the map with the specified ID.
cMap * GetMapData(unsigned int a_ID)
Returns the map with the specified ID, nullptr if out of range.