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

Overview

Fades an object that implements the CCRGBAProtocol protocol. It modifies the opacity from the current value to a custom one.

Warning: This action doesn’t support “reverse”

Tasks

Class Methods

actionWithDuration:opacity:

creates an action with duration and opacity

+ (id)actionWithDuration:(ccTime)duration opacity:(GLubyte)opactiy

Declared In

CCActionInterval.h

Instance Methods

initWithDuration:opacity:

initializes the action with duration and opacity

- (id)initWithDuration:(ccTime)duration opacity:(GLubyte)opacity

Declared In

CCActionInterval.h