Class cc.ReverseTime
- Defined in: CCActionInterval.js
- Extends cc.ActionInterval
Constructor Attributes | Constructor Name and Description |
---|---|
Executes an action in reverse order, from time=duration to time=0
|
Method Summary
Class Detail
cc.ReverseTime()
Executes an action in reverse order, from time=duration to time=0
Method Detail
-
{cc.ReverseTime} clone()returns a new clone of the action
- Returns:
- {cc.ReverseTime}
-
// example var reverse = cc.ReverseTime.create(this);
- Parameters:
- {cc.FiniteTimeAction} action
- Returns:
- {cc.ReverseTime}
-
{Boolean} initWithAction(action)
- Parameters:
- {cc.FiniteTimeAction} action
- Returns:
- {Boolean}
-
{cc.ActionInterval} reverse()
- Returns:
- {cc.ActionInterval}
-
startWithTarget(target)
- Parameters:
- {cc.Node} target
-
stop()Stop the action
-
update(time)
- Parameters:
- {Number} time
- time in seconds