Platformer
Platformer
|
A wrapper class for SDL_Textures. More...
#include <SDLTextureWrapper.hpp>
Public Member Functions | |
SDLTextureWrapper (SDL_Texture *tex) | |
Constructs an ~SDLTextureWrapper. More... | |
~SDLTextureWrapper () | |
Destructs an ~SDLTextureWrapper. | |
SDL_Texture * | GetTex () const |
Gets the SDL_Texture of this wrapper. More... | |
Private Attributes | |
SDL_Texture * | tex_ |
The wrapped SDL_Texture. | |
A wrapper class for SDL_Textures.
SDLTextureWrapper::SDLTextureWrapper | ( | SDL_Texture * | tex | ) |
Constructs an ~SDLTextureWrapper.
tex | The SDL_Texture to be wrapped |
SDL_Texture * SDLTextureWrapper::GetTex | ( | ) | const |
Gets the SDL_Texture of this wrapper.