Table of Contents

 
WriteSpriteStats
 

Purpose

Writes the stats of all the sprites to a text file

 

Protoype

void CSpriteMngr::WriteSpriteStats (string str_filename = "sprite_stats.txt")
 

Parameters

filename the name or location of the file to output data
 

Description

This function is strictly for debugging purposes. It dumps all the objects and their properties stored in the sprite manager to a data file for viewing. You can specify your own data file or use the one provided for you.

 

Use

CSpriteMngr sprite;
sprite.WriteSpriteStats();
 

Prev: TestCollision