Inherits from CCGrid3DAction : CCGridAction : CCActionInterval : CCFiniteTimeAction : CCAction : NSObject
Declared in CCActionGrid3D.h
CCGrid3DAction.h

Overview

CCTwirl action

Tasks

Other Methods

Other Methods

Properties

amplitude

amplitude

@property (nonatomic, readwrite) float amplitude

Declared In

CCActionGrid3D.h

amplitudeRate

amplitude rate

@property (nonatomic, readwrite) float amplitudeRate

Declared In

CCActionGrid3D.h

position

twirl center

@property (nonatomic, readwrite) CGPoint position

Declared In

CCActionGrid3D.h

Class Methods

actionWithDuration:size:position:twirls:amplitude:

creates the action with center position, number of twirls, amplitude, a grid size and duration

+ (id)actionWithDuration:(ccTime)duration size:(CGSize)gridSize position:(CGPoint)pos twirls:(NSUInteger)t amplitude:(float)amp

Declared In

CCActionGrid3D.h

actionWithPosition:twirls:amplitude:grid:duration:

creates the action with center position, number of twirls, amplitude, a grid size and duration

+ (id)actionWithPosition:(CGPoint)pos twirls:(int)t amplitude:(float)amp grid:(ccGridSize)gridSize duration:(ccTime)d

Declared In

CCGrid3DAction.h

Instance Methods

initWithDuration:size:position:twirls:amplitude:

initializes the action with center position, number of twirls, amplitude, a grid size and duration

- (id)initWithDuration:(ccTime)duration size:(CGSize)gridSize position:(CGPoint)pos twirls:(NSUInteger)t amplitude:(float)amp

Declared In

CCActionGrid3D.h

initWithPosition:twirls:amplitude:grid:duration:

initializes the action with center position, number of twirls, amplitude, a grid size and duration

- (id)initWithPosition:(CGPoint)pos twirls:(int)t amplitude:(float)amp grid:(ccGridSize)gridSize duration:(ccTime)d

Declared In

CCGrid3DAction.h