|
Gama C Library
Gama C API Documentation
|
Structure representing a sprite with animation capabilities. More...
#include <sprite.h>
Data Fields | |
| double | _backlog_t |
| gmSpriteAnim | animation |
| size_t | n_frames |
| size_t | animation_frame |
| size_t | _frame |
| gmImage | image |
Structure representing a sprite with animation capabilities.
| double gmSprite::_backlog_t |
Internal time accumulator for animation timing
| size_t gmSprite::_frame |
Current actual frame to display
| gmSpriteAnim gmSprite::animation |
Animation sequence for the sprite
| size_t gmSprite::animation_frame |
Current frame in the animation sequence
| gmImage gmSprite::image |
The image containing the sprite sheet
| size_t gmSprite::n_frames |
Total number of frames in the sprite sheet