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.
Method Detail
-
{cc.RepeatForever} clone()returns a new clone of the action
- Returns:
- {cc.RepeatForever}
-
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