SDL SPOOKY PLATFORMER ENGINE  0.2.0
An implementation of a platformer using sdl, implemented using an entity component system and efficient collision management.
Public Member Functions | Public Attributes | List of all members
Sprite Struct Reference

#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...
 

Detailed Description

a reusable sprite resource

Constructor & Destructor Documentation

Sprite::~Sprite ( )
inline

Clean up sprite data.

Member Data Documentation

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.


The documentation for this struct was generated from the following file: