GAF Library
Generic Animation Format
 All Classes Functions Pages
Classes | Public Types | Public Member Functions | List of all members
GAFTextureAtlas Class Reference

Classes

struct  AtlasInfo
 

Public Types

typedef std::vector< AtlasInfoAtlasInfos_t
 
typedef std::map< unsigned int,
GAFTextureAtlasElement * > 
Elements_t
 

Public Member Functions

void pushAtlasInfo (const AtlasInfo &ai)
 
void pushElement (unsigned int idx, GAFTextureAtlasElement *el)
 
void loadImages (const std::string &dir, GAFTextureLoadDelegate *delegate)
 
bool loaded () const
 
void setScale (float val)
 
float getScale () const
 
cocos2d::Image * image ()
 
cocos2d::__Array * images ()
 
cocos2d::Texture2D * texture ()
 
cocos2d::__Array * textures ()
 
const Elements_t & getElements () const
 

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