CL_SpriteDescriptionFrame Class Reference
[clanDisplay 2D]

This class describes a single frame in a sprite description. More...

#include <sprite_description.h>

List of all members.

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

CL_PixelBuffer pixelbuffer
CL_Texture texture
CL_Rect rect
FrameType type
double delay


Detailed Description

This class describes a single frame in a sprite description.


Member Enumeration Documentation

enum CL_SpriteDescriptionFrame::FrameType
 

Enumerator:
type_pixelbuffer 
type_texture 


Constructor & Destructor Documentation

CL_SpriteDescriptionFrame::CL_SpriteDescriptionFrame CL_PixelBuffer  pixelbuffer,
CL_Rect  rect
[inline]
 

Constructs a SpriteDescriptionFrame.

Parameters:
pixelbuffer = Pixel Buffer
rect = Rect

CL_SpriteDescriptionFrame::CL_SpriteDescriptionFrame CL_Texture  texture,
CL_Rect  rect
[inline]
 

Constructs a SpriteDescriptionFrame.

Parameters:
texture = Texture
rect = Rect


Member Data Documentation

double CL_SpriteDescriptionFrame::delay
 

CL_PixelBuffer CL_SpriteDescriptionFrame::pixelbuffer
 

CL_Rect CL_SpriteDescriptionFrame::rect
 

CL_Texture CL_SpriteDescriptionFrame::texture
 

FrameType CL_SpriteDescriptionFrame::type
 


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:41 2009 for ClanLib by  doxygen 1.4.6