cocos2d-iphone  2.1
Improved Cocos2D API Reference (iOS version) for developers
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines
CCCatmullRomBy Class Reference

#import <CCActionCatmullRom.h>

+ Inheritance diagram for CCCatmullRomBy:
+ Collaboration diagram for CCCatmullRomBy:

List of all members.

Public Member Functions

(id) - initWithDuration:points:

Static Public Member Functions

(id) + actionWithDuration:points:

Detailed Description

An action that moves the target with a CatmullRom curve by a certain distance. A Catmull Rom is a Cardinal Spline with a tension of 0.5.

Member Function Documentation

+ (id) actionWithDuration: (ccTime dt
points: (CCPointArray *)  points 

creates an action with a Cardinal Spline array of points and tension

- (id) initWithDuration: (ccTime dt
points: (CCPointArray *)  points 

initializes the action with a duration and an array of points

The documentation for this class was generated from the following file: