![]() |
SANDAL2
A SDL2 Wrapper in C
|
informations about a step of an animation More...
#include <Sprite.h>
Public Attributes | |
struct Sprite * | next |
struct Sprite * | prev |
int | coords [4] |
unsigned | lifespan |
int | code |
informations about a step of an animation
int Sprite::code |
identifier of the Sprite
int Sprite::coords[4] |
[0] and [1] for the coordinates of the top left corner and [2] and [3] respectively for the width and the height
unsigned Sprite::lifespan |
number of time minus one the Sprite should be displaied before going to the next
struct Sprite* Sprite::next |
next step of the animation
struct Sprite* Sprite::prev |
previous step of the animation