Table of Contents

 
RemoveAll
 

Purpose

Frees all the images, and then clears the manager

 

Protoype

void CImageMngr::RemoveAll ()
 

Description

This function erases all image objects from the manager. The function also calls the SDL_FreeSurface() routine so that all memory used to store the images is also erased.

 

Use

CImageMngr image;
image.RemoveAll();
 

Prev: PlaceImage