#include <video_sprites.h>
Public Member Functions | |
int | init (char *dir) |
Initialize the sprite base. | |
Public Attributes | |
NGT_SpriteFrame * | mAnim |
int | mBuilt |
int | mNumframes |
Number of frames. | |
int | mW |
Width. | |
int | mH |
Height. |
This class provides basic functions and objects to manage sprite units.
Definition at line 28 of file video_sprites.h.
|
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. |
|
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(). |
|
Definition at line 35 of file video_sprites.h. Referenced by NGT_Sprite::init(), and init(). |
|
Height.
Definition at line 41 of file video_sprites.h. Referenced by NGT_Sprite::clearBG(), init(), and NGT_Sprite::updateBG(). |
|
Number of frames.
Definition at line 37 of file video_sprites.h. Referenced by NGT_Sprite::draw(), NGT_Sprite::init(), and init(). |
|
Width.
Definition at line 39 of file video_sprites.h. Referenced by NGT_Sprite::clearBG(), init(), and NGT_Sprite::updateBG(). |