Tux4Kids-Common
Loading...
Searching...
No Matches
sprite Struct Reference

An animated sprite using a collection of SDL_Surfaces. More...

#include <t4k_common.h>

Data Fields

SDL_Surface * frame [MAX_SPRITE_FRAMES]
 
SDL_Surface * default_img
 
int num_frames
 
int cur
 

Detailed Description

An animated sprite using a collection of SDL_Surfaces.

sprite

Field Documentation

◆ cur

int sprite::cur

◆ default_img

SDL_Surface* sprite::default_img

◆ frame

SDL_Surface* sprite::frame[MAX_SPRITE_FRAMES]

◆ num_frames

int sprite::num_frames

The documentation for this struct was generated from the following file: