axmol/tools/tolua++/CCAnimationCache.pkg

14 lines
432 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
2012-02-02 14:26:38 +08:00
static CCAnimationCache* sharedAnimationCache(void);
static void purgeSharedAnimationCache(void);
void addAnimationsWithDictionary(CCDictionary* dictionary);
void addAnimationsWithFile(const char* plist);
2012-02-02 14:26:38 +08:00
};