supertux
|
Public Member Functions | |
SpriteData (const ReaderMapping &mapping) | |
Sprite from data. More... | |
SpriteData (const std::string &image) | |
Single-image sprite. | |
SpriteData () | |
Dummy texture sprite. | |
const std::string & | get_name () const |
Friends | |
class | Sprite |
SpriteData::SpriteData | ( | const ReaderMapping & | mapping | ) |
Sprite from data.
mapping
has to be a pointer to data in the form of "((hitbox 5 10 0 0) ...)".