#include <CCActionManager.h>
Public Member Functions | |
ActionManager () | |
virtual | ~ActionManager () |
Default destructor. More... | |
ActionObject * | getActionByName (const char *jsonName, const char *actionName) |
Gets an ActionObject with a name. More... | |
ActionObject * | playActionByName (const char *jsonName, const char *actionName) |
Play an Action with a name. More... | |
ActionObject * | playActionByName (const char *jsonName, const char *actionName, CCCallFunc *func) |
Play an Action with a name. More... | |
void | initWithDictionary (const char *jsonName, const rapidjson::Value &dic, CCObject *root) |
void | initWithBinary (const char *file, CCObject *root, CocoLoader *pCocoLoader, stExpCocoNode *pCocoNode) |
void | releaseActions () |
Release all actions. More... | |
![]() | |
CCObject (void) | |
virtual | ~CCObject (void) |
void | release (void) |
void | retain (void) |
CCObject * | autorelease (void) |
CCObject * | copy (void) |
bool | isSingleReference (void) const |
unsigned int | retainCount (void) const |
virtual bool | isEqual (const CCObject *pObject) |
virtual void | acceptVisitor (CCDataVisitor &visitor) |
virtual void | update (float dt) |
![]() | |
virtual CCObject * | copyWithZone (CCZone *pZone) |
Static Public Member Functions | |
static ActionManager * | shareManager () |
Gets the static instance of ActionManager. More... | |
static void | purge () |
Purges ActionManager point. More... | |
Protected Attributes | |
CCDictionary * | m_pActionDic |
![]() | |
unsigned int | m_uReference |
unsigned int | m_uAutoReleaseCount |
Additional Inherited Members | |
![]() | |
unsigned int | m_uID |
int | m_nLuaID |
ActionManager | ( | ) |
|
virtual |
Default destructor.
ActionObject* getActionByName | ( | const char * | jsonName, |
const char * | actionName | ||
) |
Gets an ActionObject with a name.
jsonName | UI file name |
actionName | action name in the UI file. |
void initWithBinary | ( | const char * | file, |
CCObject * | root, | ||
CocoLoader * | pCocoLoader, | ||
stExpCocoNode * | pCocoNode | ||
) |
void initWithDictionary | ( | const char * | jsonName, |
const rapidjson::Value & | dic, | ||
CCObject * | root | ||
) |
ActionObject* playActionByName | ( | const char * | jsonName, |
const char * | actionName | ||
) |
Play an Action with a name.
jsonName | UI file name |
actionName | action name in teh UIfile. |
ActionObject* playActionByName | ( | const char * | jsonName, |
const char * | actionName, | ||
CCCallFunc * | func | ||
) |
Play an Action with a name.
jsonName | UI file name |
actionName | action name in teh UIfile. |
func | ui action call back |
|
static |
Purges ActionManager point.
void releaseActions | ( | ) |
Release all actions.
|
static |
Gets the static instance of ActionManager.
|
protected |