2011-06-14 14:31:25 +08:00
|
|
|
|
2011-11-09 23:23:47 +08:00
|
|
|
class CCActionManager : public CCObject
|
2011-06-14 14:31:25 +08:00
|
|
|
{
|
2011-11-09 23:23:47 +08:00
|
|
|
void removeAllActions(void);
|
|
|
|
void removeAllActionsFromTarget(CCObject *pTarget);
|
|
|
|
void removeAction(CCAction *pAction);
|
|
|
|
void removeActionByTag(int tag, CCObject *pTarget);
|
2011-06-14 14:31:25 +08:00
|
|
|
void addAction(CCAction *pAction, CCNode *pTarget, bool paused);
|
|
|
|
CCAction* getActionByTag(int tag, CCObject *pTarget);
|
|
|
|
int numberOfRunningActionsInTarget(CCObject *pTarget);
|
|
|
|
void pauseTarget(CCObject *pTarget);
|
|
|
|
void resumeTarget(CCObject *pTarget);
|
|
|
|
static CCActionManager* sharedManager(void);
|
2011-11-09 23:23:47 +08:00
|
|
|
};
|