![]() |
SANDAL2
A SDL2 Wrapper in C
|
all steps of an animation More...
#include <Sprite.h>
Public Attributes | |
Sprite * | first |
Sprite * | current |
unsigned | size |
int | side |
unsigned | wasChanged |
int | code |
struct ListSprite * | next |
struct ListSprite * | prev |
all steps of an animation
int ListSprite::code |
identifier of the animation
Sprite* ListSprite::current |
current step of the animation
Sprite* ListSprite::first |
first step of the animation
struct ListSprite* ListSprite::next |
next animation
struct ListSprite* ListSprite::prev |
previous animation
int ListSprite::side |
tells whether to go forward (1), backward (-1) or not to move (0)
unsigned ListSprite::size |
number of steps in the animation
unsigned ListSprite::wasChanged |
tells how many time the current sprite was displaied