Class Index | File Index

Classes


Class cc.RepeatForever


Extends cc.ActionInterval.

Defined in: CCActionInterval.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Repeats an action for ever.
Method Summary
Method Attributes Method Name and Description
<static>  
cc.RepeatForever.create(action)
Repeat the acton forever
 
 
 
 
 
 
 
step(dt)
Methods borrowed from class cc.ActionInterval:
getAmplitudeRate, getElapsed, initWithDuration, setAmplitudeRate
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, stop, update
Class Detail
cc.RepeatForever()
Repeats an action for ever.
To repeat the an action for a limited number of times use the Repeat action.
Method Detail
<static> {cc.RepeatForever} cc.RepeatForever.create(action)
Repeat the acton forever
// example
var repeat = cc.RepeatForever.create(cc.RotateBy.create(1.0, 360));
Parameters:
action
Returns:
{cc.RepeatForever}

{cc.ActionInterval} getInnerAction()
Returns:
{cc.ActionInterval}

{Boolean} initWithAction(action)
Parameters:
{cc.ActionInterval} action
Returns:
{Boolean}

{Boolean} isDone()
Returns:
{Boolean}

{cc.ActionInterval} reverse()
Returns:
{cc.ActionInterval}

setInnerAction(action)
Parameters:
{cc.ActionInterval} action

startWithTarget(target)
Parameters:
{cc.Node} target

step(dt)
Parameters:
dt
delta time in seconds

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