Main Page | Namespace List | Class List | File List | Class Members | File Members

NGT_SpriteBase Class Reference

NGT SpriteBase class. More...

#include <video_sprites.h>

List of all members.

Public Member Functions

int init (char *dir)
 Initialize the sprite base.

Public Attributes

NGT_SpriteFramemAnim
int mBuilt
int mNumframes
 Number of frames.
int mW
 Width.
int mH
 Height.


Detailed Description

NGT SpriteBase class.

This class provides basic functions and objects to manage sprite units.

Definition at line 28 of file video_sprites.h.


Member Function Documentation

int NGT_SpriteBase::init char *  dir  ) 
 

Initialize the sprite base.

Definition at line 18 of file video_sprites.cpp.

References NGT_SpriteFrame::image, mAnim, mBuilt, mH, mNumframes, mW, NGT_SurfaceLoad(), and NGT_SpriteFrame::pause.


Member Data Documentation

NGT_SpriteFrame* NGT_SpriteBase::mAnim
 

Definition at line 34 of file video_sprites.h.

Referenced by NGT_Sprite::draw(), NGT_Sprite::geth(), NGT_Sprite::getw(), NGT_Sprite::init(), and init().

int NGT_SpriteBase::mBuilt
 

Definition at line 35 of file video_sprites.h.

Referenced by NGT_Sprite::init(), and init().

int NGT_SpriteBase::mH
 

Height.

Definition at line 41 of file video_sprites.h.

Referenced by NGT_Sprite::clearBG(), init(), and NGT_Sprite::updateBG().

int NGT_SpriteBase::mNumframes
 

Number of frames.

Definition at line 37 of file video_sprites.h.

Referenced by NGT_Sprite::draw(), NGT_Sprite::init(), and init().

int NGT_SpriteBase::mW
 

Width.

Definition at line 39 of file video_sprites.h.

Referenced by NGT_Sprite::clearBG(), init(), and NGT_Sprite::updateBG().


The documentation for this class was generated from the following files:
Generated on Wed Feb 1 00:07:08 2006 for Neopntec Gaming Toolkit - API reference by  doxygen 1.4.4