|
Gama C Library
Gama C API Documentation
|
Structure representing a sprite animation sequence. More...
#include <sprite.h>
Data Fields | |
| double | interval |
| int8_t | anim [GAMA_MAX_SPRITE_ANIM_LENGTH] |
| size_t | length |
Structure representing a sprite animation sequence.
| int8_t gmSpriteAnim::anim[GAMA_MAX_SPRITE_ANIM_LENGTH] |
Array of frame indices in the animation sequence. These are indices into the sprite sheet's total frames.
| double gmSpriteAnim::interval |
Time interval in seconds between animation frames.
| size_t gmSpriteAnim::length |
Number of frames in the animation sequence.