This class describes a single frame in a sprite description. More...
#include <sprite_description.h>
Public Types | |
| enum | FrameType { type_pixelbuffer, type_texture } |
Public Member Functions | |
| CL_SpriteDescriptionFrame (CL_PixelBuffer pixelbuffer, CL_Rect rect) | |
| Constructs a SpriteDescriptionFrame. | |
| CL_SpriteDescriptionFrame (CL_Texture texture, CL_Rect rect) | |
| Constructs a SpriteDescriptionFrame. | |
Public Attributes | |
| double | delay |
| CL_PixelBuffer | pixelbuffer |
| CL_Rect | rect |
| CL_Texture | texture |
| FrameType | type |
This class describes a single frame in a sprite description.
| CL_SpriteDescriptionFrame::CL_SpriteDescriptionFrame | ( | CL_PixelBuffer | pixelbuffer, | |
| CL_Rect | rect | |||
| ) | [inline] |
Constructs a SpriteDescriptionFrame.
| pixelbuffer | = Pixel Buffer | |
| rect | = Rect |
| CL_SpriteDescriptionFrame::CL_SpriteDescriptionFrame | ( | CL_Texture | texture, | |
| CL_Rect | rect | |||
| ) | [inline] |
Constructs a SpriteDescriptionFrame.
| texture | = Texture | |
| rect | = Rect |
1.7.1