Download Tutorial C Files H Files

dg_animation_t

animation

H File

typedef struct dg_animation
{
    dg_spritesheet_t *sheet;
    int *frames;
    int size;
    float speed;
} dg_animation_t;