Class cc.Blink

Class Summary
Constructor Attributes Constructor Name and Description
 
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}
  • <static> {cc.Blink} cc.Blink.create(duration, blinks)
    // 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