SANDAL2
A SDL2 Wrapper in C
Public Attributes | List of all members
ListSprite Struct Reference

all steps of an animation More...

#include <Sprite.h>

Collaboration diagram for ListSprite:
Collaboration graph
[legend]

Public Attributes

Spritefirst
 
Spritecurrent
 
unsigned size
 
int side
 
unsigned wasChanged
 
int code
 
struct ListSpritenext
 
struct ListSpriteprev
 

Detailed Description

all steps of an animation

Member Data Documentation

◆ code

int ListSprite::code

identifier of the animation

◆ current

Sprite* ListSprite::current

current step of the animation

◆ first

Sprite* ListSprite::first

first step of the animation

◆ next

struct ListSprite* ListSprite::next

next animation

◆ prev

struct ListSprite* ListSprite::prev

previous animation

◆ side

int ListSprite::side

tells whether to go forward (1), backward (-1) or not to move (0)

◆ size

unsigned ListSprite::size

number of steps in the animation

◆ wasChanged

unsigned ListSprite::wasChanged

tells how many time the current sprite was displaied


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