版本:1.6.1-beta2
mac
export class ActionInterval extends FiniteTimeAction {
/**
!#en Implementation of ease motion.
!#zh 缓动运动。
@param easeObj easeObj
@example
```js
action.easing(cc.easeIn(3.0));
```
*/
easing(easeObj: any): ActionInterval;
/**
!#en
Repeats an action a number of times.
To repeat an action forever use the CCRepeatForever action.
!#zh 重复动作可以按一定次数重复一个动作,使用 RepeatForever 动作来永远重复一个动作。
@param times times
*/
repeat(times: void): ActionInterval;
/**
!#en
Repeats an action for ever. <br/>
To repeat the an action for a limited number of times use the Repeat action. <br/>
!#zh 永远地重复一个动作,有限次数内重复一个动作请使用 Repeat 动作。
*/
repeatForever(): ActionInterval;
}
repeat(times: void)应该是repeat(times: number)吧?