FreeTerrain()

Syntax

FreeTerrain(#Terrain)
Description
Frees a terrain and releases all its associated memory. This terrain must not be used (by using its number with the other functions in this library) after calling this function, unless you create it again.

Parameters

#Terrain The terrain to free. If #PB_All is specified, all the remaining terrains are freed.

Return value

None.

Remarks

All remaining terrains are automatically freed when the program ends.

See Also

CreateTerrain()

Supported OS

All

<- DefineTerrainTile() - Terrain Index - FreeTerrainBody() ->