CCActionEase Class Reference

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

Overview

CCActionEase is an abstract class that adds the ability to interpolate an action over time using quadratic functions. Easing essentially will have the action animate in non-linear fashion, for instance starting slow and then speeding up, or overshooting beyond the target value before honing in on the target value.

Subclasses

You should not create an instance of the abstract CCActionEase classe. Instead use one of its subclasses:

Creating an Ease Action

+ actionWithAction:

Creates a new ease action.

+ (id)actionWithAction:(CCActionInterval *)action

Parameters

action

Interval action.

Return Value

New ease action.

Declared In

CCActionEase.h

– initWithAction:

Initializes a new ease action.

- (id)initWithAction:(CCActionInterval *)action

Parameters

action

Interval action.

Return Value

New ease action.

Declared In

CCActionEase.h