SDL SPOOKY PLATFORMER ENGINE
0.2.0
An implementation of a platformer using sdl, implemented using an entity component system and efficient collision management.
|
#include <ResourceManager.hpp>
Public Member Functions | |
~Sprite () | |
Public Attributes | |
std::shared_ptr< SDL_Surface > | spriteSheet |
the spritesheet to create the texture from. More... | |
std::shared_ptr< SDL_Texture > | texture |
the full texture of the sprite bitmap. More... | |
a reusable sprite resource
|
inline |
Clean up sprite data.
std::shared_ptr<SDL_Surface> Sprite::spriteSheet |
the spritesheet to create the texture from.
std::shared_ptr<SDL_Texture> Sprite::texture |
the full texture of the sprite bitmap.