Class cc.EaseElastic#ctor
- Defined in: CCActionEase.js
| 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