SDL_Texture * getTexture()
Definition: Texture.cpp:99
~JAM_Texture()
Definition: Texture.cpp:90
JAM_Texture(SDL_Renderer *renderer, int r, int g, int b)
Definition: Texture.cpp:6
SDL_Texture * textureData
Definition: Texture.h:17
Creates a Texture for use with a renderer. Creates a Texture from an image file, this can then be use...
Definition: Texture.h:13
int getHeight()
Definition: Texture.cpp:117
int getWidth()
Definition: Texture.cpp:108
void pushToScreen(SDL_Renderer *renderer, int x, int y)
Definition: Texture.cpp:126
void pushSpriteToScreen(SDL_Renderer *renderer, int x, int y, int srcX, int srcY, int srcWidth, int srcHeight)
Definition: Texture.cpp:160