Class ccs.ActionManager
- Defined in: CCActionManager.js
- Extends ccs.Class
Constructor Attributes | Constructor Name and Description |
---|---|
Base class for ccs.ActionManager
|
Method Summary
Class Detail
ccs.ActionManager()
Base class for ccs.ActionManager
Method Detail
-
{ccs.ActionObject} getActionByName(jsonName, actionName)Gets an actionObject with a name.
- Parameters:
- {String} jsonName
- {String} actionName
- Returns:
- {ccs.ActionObject}
-
returns a shared instance of the CCSActionManager
- Returns:
- {ccs.ActionManager}
-
initWithDictionary(jsonName, dic, root)Init properties with json dictionary
- Parameters:
- {String} jsonName
- {Object} dic
- {Object} root
-
playActionByName(jsonName, actionName, fun)Play an Action with a name.
- Parameters:
- {String} jsonName
- {String} actionName
- {cc.CallFunc} fun
-
<static> ccs.ActionManager.purge()Purges ActionManager point.
-
releaseActions()Release all actions.