SpriteFrame Class Reference

#include <spriteframe.h>

Collaboration diagram for SpriteFrame:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SpriteFrame (const Surface &surface, unsigned int delay=100)

Public Attributes

Surface surface
unsigned int delay

Detailed Description

Definition at line 27 of file spriteframe.h.


Constructor & Destructor Documentation

SpriteFrame::SpriteFrame ( const Surface surface,
unsigned int  delay = 100 
)

Definition at line 22 of file spriteframe.cpp.

00022                                                                       {
00023   assert( !p_surface.IsNull() );
00024   
00025   surface = p_surface;
00026   delay = p_speed;
00027 }

Here is the call graph for this function:


Member Data Documentation

unsigned int SpriteFrame::delay

Definition at line 33 of file spriteframe.h.

Surface SpriteFrame::surface

Definition at line 32 of file spriteframe.h.


The documentation for this class was generated from the following files:
Generated on Mon Jan 1 14:18:29 2007 for Wormux by  doxygen 1.4.7