Class cc.EaseRateAction

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

Method Summary

Class Detail

cc.EaseRateAction()
Base class for Easing actions with rate parameters

Field Detail

<static> {cc.EaseRateAction} cc.EaseRateAction.create
Please use cc.easeRateAction instead Creates the action with the inner action and the rate parameter

Method Detail

  • ctor(action, rate)
    Creates the action with the inner action and the rate parameter Constructor of cc.EaseRateAction
    // example
    var moveEaseRateAction = new cc.EaseRateAction(action, 3.0);
    Parameters:
    {cc.ActionInterval} action
    {Number} rate
  • {Number} getRate()
    get rate value for the actions
    Returns:
    {Number}
  • {Boolean} initWithAction(action, rate)
    Initializes the action with the inner action and the rate parameter
    Parameters:
    {cc.ActionInterval} action
    {Number} rate
    Returns:
    {Boolean}
  • {cc.EaseRateAction} reverse()
    Returns:
    {cc.EaseRateAction}
  • setRate(rate)
    set rate value for the actions
    Parameters:
    {Number} rate