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

Overview

This action tints the target from current tint by the value specified.

Class Methods

actionWithDuration:red:green:blue:

Creates a tint by action.

+ (id)actionWithDuration:(CCTime)duration red:(CGFloat)deltaRed green:(CGFloat)deltaGreen blue:(CGFloat)deltaBlue

Parameters

duration

Action duration.

deltaRed

Red delta color to tint.

deltaGreen

Green delta color to tint.

deltaBlue

Blue delta color to tint.

Return Value

New tint by action.

Declared In

CCActionInterval.h

Instance Methods

initWithDuration:red:green:blue:

Initalizes a tint by action.

- (id)initWithDuration:(CCTime)duration red:(CGFloat)deltaRed green:(CGFloat)deltaGreen blue:(CGFloat)deltaBlue

Parameters

duration

Action duration.

deltaRed

Red delta color to tint.

deltaGreen

Green delta color to tint.

deltaBlue

Blue delta color to tint.

Return Value

New tint by action.

Declared In

CCActionInterval.h