|
SDL Breakout Engine
0.1.0
An implementation of a Breakout game using sdl, implemented with efficient resource 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.
1.4.1