Class cc.EaseElasticInOut
Extends
cc.EaseElastic.
Defined in: CCActionEase.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Ease Elastic InOut action.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
cc.EaseElasticInOut.create(action, period)
Creates the action with the inner action and the period in radians (default is 0.3)
|
reverse()
|
|
update(time1)
|
- Methods borrowed from class cc.EaseElastic:
- getPeriod, initWithAction, setPeriod
- Methods borrowed from class cc.ActionEase:
- startWithTarget, stop
- Methods borrowed from class cc.ActionInterval:
- getAmplitudeRate, getElapsed, initWithDuration, isDone, setAmplitudeRate, step
- Methods borrowed from class cc.FiniteTimeAction:
- getDuration, setDuration
- Methods borrowed from class cc.Action:
- copy, copyWithZone, description, getOriginalTarget, getTag, getTarget, release, retain, setOriginalTarget, setTag, setTarget
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
- Returns:
- {cc.EaseElasticInOut}
{cc.ActionInterval}
reverse()
- Returns:
- {cc.ActionInterval}
update(time1)
- Parameters:
- {Number} time1