CCActionBezierBy Class Reference

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

Overview

This action that moves the target with a cubic Bezier curve by a certain distance.

Creating a Bezier Path Move Action

+ actionWithDuration:bezier:

Creates the action with a duration and a bezier configuration.

+ (id)actionWithDuration:(CCTime)t bezier:(ccBezierConfig)c

Parameters

t

Action duration.

c

Bezier configuration.

Return Value

New bezier action.

Declared In

CCActionInterval.h

– initWithDuration:bezier:

Initializes the action with a duration and a bezier configuration.

- (id)initWithDuration:(CCTime)t bezier:(ccBezierConfig)c

Parameters

t

Action duration.

c

Bezier configuration.

Return Value

New bezier action.

Declared In

CCActionInterval.h