CCActionEaseRate Class Reference

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

Overview

CCActionEaseRate adds an additional rate property to control the rate of change for the specified action.

Creating an Ease Action

+ actionWithAction:rate:

Creates the action with the inner action and the rate parameter.

+ (id)actionWithAction:(CCActionInterval *)action rate:(CGFloat)rate

Parameters

action

Interval action to ease.

rate

Action rate.

Return Value

New rate action.

Declared In

CCActionEase.h

– initWithAction:rate:

Initializes the action with the inner action and the rate parameter.

- (id)initWithAction:(CCActionInterval *)action rate:(CGFloat)rate

Parameters

action

Interval action to ease.

rate

Action rate.

Return Value

New rate action.

Declared In

CCActionEase.h