Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Animation Class Reference

#include <animation.h>

List of all members.

Public Member Functions

 Animation (AnimationInfo *ai)
 ~Animation ()
bool IncreaseTimer (int t, int cyclic)
SDL_Surface * GetFrame ()
int GetWidth ()
int GetHeight ()
AnimationInfoGetAnimationinfo ()
MaskGetMask ()
void SetFrame (int _frame)
void DrawCenteredAt (int x, int y, SDL_Surface *)

Private Attributes

AnimationInfoanimationinfo
int frame
int timer


Constructor & Destructor Documentation

Animation::Animation AnimationInfo   ai
 

Animation::~Animation  
 


Member Function Documentation

void Animation::DrawCenteredAt int    x,
int    y,
SDL_Surface *   
 

AnimationInfo * Animation::GetAnimationinfo  
 

SDL_Surface * Animation::GetFrame  
 

int Animation::GetHeight  
 

Mask * Animation::GetMask  
 

int Animation::GetWidth  
 

bool Animation::IncreaseTimer int    t,
int    cyclic
 

void Animation::SetFrame int    _frame
 


Member Data Documentation

AnimationInfo* Animation::animationinfo [private]
 

int Animation::frame [private]
 

int Animation::timer [private]
 


The documentation for this class was generated from the following files:
Generated on Sun Mar 2 18:50:27 2003 for eounicorn by doxygen1.3-rc3