#include <CCActionManagerEx.h>
Public Member Functions | |
ActionManagerEx () | |
Default constructor. More... | |
ActionManagerEx () | |
Default constructor. More... | |
ActionManagerEx () | |
Default constructor. More... | |
virtual | ~ActionManagerEx () |
Default destructor. More... | |
local | ~ActionManagerEx () |
Default destructor. More... | |
ActionObject * | getActionByName (const char *jsonName, const char *actionName) |
Gets an ActionObject with a name. More... | |
void | playActionByName (const char *jsonName, const char *actionName) |
Play an Action with a name. More... | |
void | initWithDictionary (const char *jsonName, cs::JsonDictionary *dic, Object *root) |
void | releaseActions () |
Release all actions. More... | |
Public Member Functions inherited from Object | |
Object () | |
Constructor. More... | |
virtual | ~Object () |
void | release () |
Release the ownership immediately. More... | |
void | retain () |
Retains the ownership. More... | |
Object * | autorelease () |
Release the ownership sometime soon automatically. More... | |
bool | isSingleReference () const |
Returns a boolean value that indicates whether there is only one reference to the object. More... | |
unsigned int | retainCount () const |
Returns the object's current reference count. More... | |
virtual bool | isEqual (const Object *object) |
Returns a boolean value that indicates whether this object and a given object are equal. More... | |
virtual void | acceptVisitor (DataVisitor &visitor) |
virtual void | update (float dt) |
Static Public Member Functions | |
static ActionManagerEx * | shareManager () |
Gets the static instance of ActionManager. More... | |
var | shareManager () |
Gets the static instance of ActionManager. More... | |
local | shareManager () |
Gets the static instance of ActionManager. More... | |
static void | purgeActionManager () |
Purges ActionManager point. More... | |
local | purgeActionManager () |
Purges ActionManager point. More... | |
Protected Attributes | |
Dictionary * | _pActionDic |
Protected Attributes inherited from Object | |
unsigned int | _reference |
count of references More... | |
var | _reference |
count of references More... | |
local | _reference |
count of references More... | |
unsigned int | _autoReleaseCount |
count of autorelease More... | |
var | _autoReleaseCount |
count of autorelease More... | |
local | _autoReleaseCount |
count of autorelease More... | |
Additional Inherited Members | |
Public Attributes inherited from Object | |
unsigned int | _ID |
object id, ScriptSupport need public _ID More... | |
int | _luaID |
Lua reference id. More... | |
ActionManagerEx | ( | ) |
Default constructor.
var ActionManagerEx | ( | ) |
Default constructor.
local ActionManagerEx | ( | ) |
Default constructor.
|
virtual |
Default destructor.
|
virtual |
Default destructor.
|
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. |
local getActionByName | ( | local | jsonName, |
local | actionName | ||
) |
Gets an ActionObject with a name.
jsonName | UI file name |
actionName | action name in the UI file. |
void initWithDictionary | ( | const char * | jsonName, |
cs::JsonDictionary * | dic, | ||
Object * | root | ||
) |
var initWithDictionary | ( | var | jsonName, |
var | dic, | ||
var | root | ||
) |
local initWithDictionary | ( | local | jsonName, |
local | dic, | ||
local | root | ||
) |
void 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. |
local playActionByName | ( | local | jsonName, |
local | 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.
|
static |
Purges ActionManager point.
void releaseActions | ( | ) |
Release all actions.
var releaseActions | ( | ) |
Release all actions.
local releaseActions | ( | ) |
Release all actions.
|
static |
Gets the static instance of ActionManager.
|
static |
Gets the static instance of ActionManager.
|
static |
Gets the static instance of ActionManager.
|
protected |
|
protected |
|
protected |