#include <animation.h>
Public Member Functions | |
| Animation (AnimationInfo *ai) | |
| ~Animation () | |
| bool | IncreaseTimer (int t, int cyclic) |
| SDL_Surface * | GetFrame () |
| int | GetWidth () |
| int | GetHeight () |
| AnimationInfo * | GetAnimationinfo () |
| Mask * | GetMask () |
| void | SetFrame (int _frame) |
| void | DrawCenteredAt (int x, int y, SDL_Surface *) |
Private Attributes | |
| AnimationInfo * | animationinfo |
| int | frame |
| int | timer |
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3-rc3