Class cc.EaseElastic#ctor

Class Summary
Constructor Attributes Constructor Name and Description
 
cc.EaseElastic#ctor(action, period)
Creates the action with the inner action and the period in radians (default is 0.3)

Class Detail

cc.EaseElastic#ctor(action, period)
Creates the action with the inner action and the period in radians (default is 0.3)
// example
var moveEaseElastic = new cc.EaseElastic(action, 3.0);
Parameters:
{cc.ActionInterval} action
{Number} period Optional, Default: 0.3