Sprite Struct Reference

A structure used to convieniently hold information about a Sprite. More...

#include <Sprite.h>

List of all members.

Public Member Functions

 Sprite ()
 Default constructor.
 Sprite (const std::string image, const int nFrameCount=0, const int nFrameWidth=0, const int nFrameHeight=0, const int nFramesPerRow=0)
 Constructor.

Public Attributes

std::string _image
 The name of the image the sprite represents.
int _nFrameCount
 The number of frames inside the sprite. A frame is rectangular area than be be specifically referenced to.
int _nFrameWidth
 The width of each frame on the sprite in pixels.
int _nFrameHeight
 The height of each frame on the sprite, in pixels.
int _nFramesPerRow
 The number of frames that fit on a horizontal row.

Detailed Description

A structure used to convieniently hold information about a Sprite.


The documentation for this struct was generated from the following file:
 All Classes Functions Variables

Generated on Fri Nov 20 15:29:21 2009 for PhysTank by  doxygen 1.6.1