Class cc.RepeatForever
- Defined in: CCActionInterval.js
- Extends cc.ActionInterval
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Repeats an action for ever.
|
Method Summary
Class Detail
cc.RepeatForever()
Repeats an action for ever.
To repeat the an action for a limited number of times use the Repeat action.
To repeat the an action for a limited number of times use the Repeat action.
Field Detail
Please use cc.repeatForever instead
Create a acton which repeat forever
Method Detail
-
{cc.RepeatForever} clone()returns a new clone of the action
- Returns:
- {cc.RepeatForever}
-
ctor(action)Create a acton which repeat forever
var repeat = new cc.RepeatForever(cc.rotateBy(1.0, 360));
- Parameters:
- {cc.FiniteTimeAction} action
-
{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