supertux
Classes | Public Member Functions | Friends | List of all members
SpriteData Class Referencefinal

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
 

Constructor & Destructor Documentation

◆ SpriteData()

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) ...)".


The documentation for this class was generated from the following files: