Class Index | File Index

Classes


Class cc.ReverseTime


Extends cc.ActionInterval.

Defined in: CCActionInterval.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Executes an action in reverse order, from time=duration to time=0
Method Summary
Method Attributes Method Name and Description
<static>  
cc.ReverseTime.create(action)
 
 
 
 
stop()
Stop the action
 
update(time)
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
Class Detail
cc.ReverseTime()
Executes an action in reverse order, from time=duration to time=0
Method Detail
<static> {cc.ReverseTime} cc.ReverseTime.create(action)
// 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

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Jan 09 2013 07:51:53 GMT-0800 (PST)