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