axmol/tools/tolua++/CCAnimationCache.pkg

19 lines
610 B
Plaintext
Raw Normal View History

2011-06-14 14:31:25 +08:00
2012-02-02 14:26:38 +08:00
class CCAnimationCache : public CCObject
2011-06-14 14:31:25 +08:00
{
2012-02-02 14:26:38 +08:00
void addAnimation(CCAnimation *animation, const char * name);
void removeAnimationByName(const char* name);
CCAnimation* animationByName(const char* name);
2011-06-14 14:31:25 +08:00
// XXX deprecated, use getInstance instead
2012-02-02 14:26:38 +08:00
static CCAnimationCache* sharedAnimationCache(void);
// XXX deprecated, use destroyInstance instead
2012-02-02 14:26:38 +08:00
static void purgeSharedAnimationCache(void);
static CCAnimationCache* getInstance();
static void destroyInstance();
void addAnimationsWithDictionary(CCDictionary* dictionary);
void addAnimationsWithFile(const char* plist);
2012-02-02 14:26:38 +08:00
};