CCActionBlink Class Reference

Inherits from CCActionInterval : CCActionFiniteTime : CCAction : NSObject
Conforms to NSCopying
Declared in CCActionInterval.h

Overview

This action performs a blinks effect on the target by altering its visible property periodically.

Creating a Blink Action

+ actionWithDuration:blinks:

Creates the blink action.

+ (id)actionWithDuration:(CCTime)duration blinks:(NSUInteger)blinks

Parameters

duration

Action duration.

blinks

Number of times to blink.

Return Value

New blink action.

Declared In

CCActionInterval.h

– initWithDuration:blinks:

Initializes the blink action

- (id)initWithDuration:(CCTime)duration blinks:(NSUInteger)blinks

Parameters

duration

Action duration

blinks

Number of times to blink

Return Value

New blink action

Declared In

CCActionInterval.h