Table of Contents

 
RemoveImage
 

Purpose

Removes a given image from a given layer

 

Protoype

void CTileMngr::RemoveImage (string str_image, int i_layer)
 

Parameters

image the ID of the image to remove
layer the layer the image is on
 

Description

This function removes a given image ID from a given layer. Removing the image ID will stop the image from being rendered with the map, but the original image object will remain intact.

 

Use

CTileMngr tile_mngr;
tile_mngr.RemoveImage("my_image", 2);
 

Prev: RemoveAllSprites