Overview Members Chapter Previous Next

## CDXSprite::Create

BOOL Create( | CDXScreen* pScreen , const char* Filename , int w , int h , int num , BOOL memoryType ) ;

Creates the sprite object. Requires a pointer to your CDXScreen object and the name of the bitmap in which the sprite is stored. The w and h parameters refer to the width and height of a single frame of the sprite and the num parameter refers to the total number of frames in the bitmap file.