Class cc.ActionEase

Class Summary
Constructor Attributes Constructor Name and Description
 
Base class for Easing actions

Method Summary

Class Detail

cc.ActionEase()
Base class for Easing actions

Method Detail

  • <static> {cc.ActionEase} cc.ActionEase.create(action)
    creates the action of ActionEase
    // example
    var moveEase = cc.ActionEase.create(action);
    Parameters:
    {cc.ActionInterval} action
    Returns:
    {cc.ActionEase}
  • ctor(action)
    creates the action of ActionEase Constructor of cc.ActionEase
    var moveEase = new cc.ActionEase(action);
    Parameters:
    {cc.ActionInterval} action
  • {Boolean} initWithAction(action)
    initializes the action
    Parameters:
    {cc.ActionInterval} action
    Returns:
    {Boolean}
  • {cc.ActionInterval} reverse()
    Returns:
    {cc.ActionInterval}
  • startWithTarget(target)
    Parameters:
    {cc.Node} target
  • stop()
    Stop the action.
  • update(time1)
    Parameters:
    {Number} time1