#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... | |
void | initWithDictionary (const char *jsonName, cs::CSJsonDictionary *dic, CCObject *root) |
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 | purgeActionManager () |
Purges ActionManager point. More... | |
Protected Attributes | |
CCDictionary * | m_pActionDic |
var | m_pActionDic |
![]() | |
unsigned int | m_uReference |
unsigned int | m_uAutoReleaseCount |
Additional Inherited Members | |
![]() | |
unsigned int | m_uID |
int | m_nLuaID |
ActionManager | ( | ) |
var ctor | ( | ) |
|
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. |
var getActionByName | ( | var | jsonName, |
var | actionName | ||
) |
Gets an ActionObject with a name.
jsonName | UI file name |
actionName | action name in the UI file. |
void initWithDictionary | ( | const char * | jsonName, |
cs::CSJsonDictionary * | dic, | ||
CCObject * | root | ||
) |
var initWithDictionary | ( | var | jsonName, |
var | dic, | ||
var | 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. |
var playActionByName | ( | var | jsonName, |
var | actionName | ||
) |
Play an Action with a name.
jsonName | UI file name |
actionName | action name in teh UIfile. |
|
static |
Purges ActionManager point.
|
static |
Purges ActionManager point.
void releaseActions | ( | ) |
Release all actions.
var releaseActions | ( | ) |
Release all actions.
|
static |
Gets the static instance of ActionManager.
|
static |
Gets the static instance of ActionManager.
|
protected |
|
protected |