C4 Engine Terathon Software C4 Engine API Documentation

• Utility Library

API Links
Developer Links

Map::Purge

Defined in:  C4Map.h
Deletes all elements in a map.
Prototype

void Purge(void);

Description
The Purge function deletes all objects contained in a map. The map is subsequently empty. To remove all elements of a map without destroying them, use the Map::RemoveAll function.
See Also

Map::Remove

Map::RemoveAll

MapElement::Detach