#include <spritesheet.h>
|
| SpriteSheet (std::string pngFileName, std::string jsonFileName) |
|
void | sprite (std::string spriteName) const |
|
std::string | fileContent (std::string jsonFileName) const |
|
◆ SpriteSheet()
yage::SpriteSheet::SpriteSheet |
( |
std::string |
pngFileName, |
|
|
std::string |
jsonFileName |
|
) |
| |
◆ fileContent()
string yage::SpriteSheet::fileContent |
( |
std::string |
jsonFileName | ) |
const |
◆ parseJson()
SpriteMap yage::SpriteSheet::parseJson |
( |
int & |
width, |
|
|
int & |
height, |
|
|
const std::string & |
jsonContent |
|
) |
| const |
|
private |
- Todo:
- add the coordinate to the map
◆ sprite()
void yage::SpriteSheet::sprite |
( |
std::string |
spriteName | ) |
const |
◆ fileLocations_
◆ texture_
Texture yage::SpriteSheet::texture_ |
|
private |
The documentation for this class was generated from the following files: