Class cc.EaseElasticInOut

Class Summary
Constructor Attributes Constructor Name and Description
 
Ease Elastic InOut action.

Method Summary

Class Detail

cc.EaseElasticInOut()
Ease Elastic InOut action.

Method Detail

  • <static> {cc.EaseElasticInOut} cc.EaseElasticInOut.create(action, period)
    Creates the action with the inner action and the period in radians (default is 0.3)
    // example
    var moveEaseElasticInOut = cc.EaseElasticInOut.create(action, 3.0);
    Parameters:
    {cc.ActionInterval} action
    {Number} period Optional, Default: 0.3
    Returns:
    {cc.EaseElasticInOut}
  • {cc.ActionInterval} reverse()
    Returns:
    {cc.ActionInterval}
  • update(time1)
    Parameters:
    {Number} time1