Dumb-ways-to-memorize
2D game
|
#include <graphics.h>
Data Fields | |
Frame | mAnimations [MAX_ANIMATIONS] |
SDL_Texture * | mTexture |
vec2_t | mSize |
int | mFrames |
int | refCount |
char * | name |
Frame sprite_t::mAnimations[MAX_ANIMATIONS] |
The animation positions of the given sprite
Definition at line 31 of file graphics.h.
int sprite_t::mFrames |
The number of frames in this sprite
Definition at line 34 of file graphics.h.
vec2_t sprite_t::mSize |
The size of the sprite width + height
Definition at line 33 of file graphics.h.
SDL_Texture* sprite_t::mTexture |
The texture of the sprite
Definition at line 32 of file graphics.h.
char* sprite_t::name |
The name of the sprite's location
Definition at line 36 of file graphics.h.
int sprite_t::refCount |
Number of references, in the engine
Definition at line 35 of file graphics.h.