axmol/tools/tolua++/CCAnimationCache.pkg

14 lines
405 B
Plaintext

class CCAnimationCache : public CCObject
{
void addAnimation(CCAnimation *animation, const char * name);
void removeAnimationByName(const char* name);
CCAnimation* animationByName(const char* name);
static CCAnimationCache* getInstance();
static void destroyInstance();
void addAnimationsWithDictionary(CCDictionary* dictionary);
void addAnimationsWithFile(const char* plist);
};