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

#import <CCActionCatmullRom.h>

+ Inheritance diagram for CCCardinalSplineTo:
+ Collaboration diagram for CCCardinalSplineTo:

List of all members.

Public Member Functions

(id) - initWithDuration:points:tension:

Static Public Member Functions

(id) + actionWithDuration:points:tension:

Protected Attributes

CGFloat _deltaT
CGFloat _tension
CGPoint _previousPosition
CGPoint _accumulatedDiff



Detailed Description

Member Function Documentation

+ (id) actionWithDuration: (ccTime duration
points: (CCPointArray *)  points
tension: (CGFloat)  tension 

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

- (id) initWithDuration: (ccTime duration
points: (CCPointArray *)  points
tension: (CGFloat)  tension 

initializes the action with a duration and an array of points

Property Documentation

- (CCPointArray*) points [read, write, retain]

Array of control points

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