Class ccs.actionManager

Class Summary
Constructor Attributes Constructor Name and Description
 
Base singleton object for ccs.ActionManager.

Method Summary

Class Detail

ccs.actionManager()
Base singleton object for ccs.ActionManager.

Method Detail

  • clear()
    Clear data: Release all actions.
  • {ccs.ActionObject} getActionByName(jsonName, actionName)
    Gets an actionObject with a name.
    Parameters:
    {String} jsonName
    {String} actionName
    Returns:
    {ccs.ActionObject}
  • 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
  • releaseActions()
    Release all actions.
  • stopActionByName(jsonName, actionName)
    Stop an Action with a name.
    Parameters:
    {String} jsonName
    {String} actionName