2011-06-14 14:31:25 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
class CCActionManager : public CCObject
|
2011-06-14 14:31:25 +08:00
|
|
|
{
|
2012-04-26 09:34:42 +08:00
|
|
|
void addAction(CCAction *pAction, CCNode *pTarget, bool paused);
|
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
void removeAllActions(void);
|
2012-04-26 09:34:42 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
void removeAllActionsFromTarget(CCObject *pTarget);
|
2012-04-26 09:34:42 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
void removeAction(CCAction *pAction);
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-04-26 09:34:42 +08:00
|
|
|
void removeActionByTag(unsigned int tag, CCObject *pTarget);
|
|
|
|
|
|
|
|
CCAction* getActionByTag(unsigned int tag, CCObject *pTarget);
|
|
|
|
|
|
|
|
unsigned int numberOfRunningActionsInTarget(CCObject *pTarget);
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
void pauseTarget(CCObject *pTarget);
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-04-26 09:34:42 +08:00
|
|
|
void resumeTarget(CCObject *pTarget);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|