Class cc.Blink
- Defined in: CCActionInterval.js
- Extends cc.ActionInterval
Constructor Attributes | Constructor Name and Description |
---|---|
cc.Blink()
Blinks a cc.Node object by modifying it's visible attribute
|
Method Summary
Class Detail
cc.Blink()
Blinks a cc.Node object by modifying it's visible attribute
Method Detail
-
{cc.Blink} clone()returns a new clone of the action
- Returns:
- {cc.Blink}
-
// example var action = cc.Blink.create(2, 10);
- Parameters:
- {Number} duration
- duration in seconds
- blinks
- blinks in times
- Returns:
- {cc.Blink}
-
{Boolean} initWithDuration(duration, blinks)
- Parameters:
- {Number} duration
- duration in seconds
- {Number} blinks
- blinks in times
- Returns:
- {Boolean}
-
{cc.ActionInterval} reverse()
- Returns:
- {cc.ActionInterval}
-
update(time)
- Parameters:
- {Number} time
- time in seconds