Class cc.ActionEase
Extends
cc.ActionInterval.
Defined in: CCActionEase.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Base class for Easing actions
|
Method Attributes | Method Name and Description |
---|---|
<static> |
cc.ActionEase.create(action)
creates the action of ActionEase
|
initWithAction(action)
initializes the action
|
|
reverse()
|
|
startWithTarget(target)
|
|
stop()
Stop the action.
|
|
update(time1)
|
- 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.ActionEase}
cc.ActionEase.create(action)
creates the action of ActionEase
// example var moveEase = cc.ActionEase.create(action);
- Parameters:
- {cc.ActionInterval} action
- Returns:
- {cc.ActionEase}
{Boolean}
initWithAction(action)
initializes the action
- Parameters:
- {cc.ActionInterval} action
- Returns:
- {Boolean}
{cc.ActionInterval}
reverse()
- Returns:
- {cc.ActionInterval}
startWithTarget(target)
- Parameters:
- {cc.Node} target
stop()
Stop the action.
update(time1)
- Parameters:
- {Number} time1