Public Types | Public Member Functions | Public Attributes

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

double delay
CL_PixelBuffer pixelbuffer
CL_Rect rect
CL_Texture texture
FrameType type

Detailed Description

This class describes a single frame in a sprite description.


Member Enumeration Documentation

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


The documentation for this class was generated from the following file: