Inherits from CCTiledGrid3DAction : CCGridAction : CCActionInterval : CCFiniteTimeAction : CCAction : NSObject
Declared in CCActionTiledGrid.h
CCTiledGridAction.h

Overview

CCJumpTiles3D action. A sin function is executed to move the tiles across the Z axis

Tasks

Other Methods

Other Methods

Properties

amplitude

amplitude of the sin

@property (nonatomic, readwrite) float amplitude

Declared In

CCActionTiledGrid.h

amplitudeRate

amplitude rate

@property (nonatomic, readwrite) float amplitudeRate

Declared In

CCActionTiledGrid.h

Class Methods

actionWithDuration:size:jumps:amplitude:

creates the action with the number of jumps, the sin amplitude, the grid size and the duration

+ (id)actionWithDuration:(ccTime)duration size:(CGSize)gridSize jumps:(NSUInteger)numberOfJumps amplitude:(float)amplitude

Declared In

CCActionTiledGrid.h

actionWithJumps:amplitude:grid:duration:

creates the action with the number of jumps, the sin amplitude, the grid size and the duration

+ (id)actionWithJumps:(int)j amplitude:(float)amp grid:(ccGridSize)gridSize duration:(ccTime)d

Declared In

CCTiledGridAction.h

Instance Methods

initWithDuration:size:jumps:amplitude:

initializes the action with the number of jumps, the sin amplitude, the grid size and the duration

- (id)initWithDuration:(ccTime)duration size:(CGSize)gridSize jumps:(NSUInteger)numberOfJumps amplitude:(float)amplitude

Declared In

CCActionTiledGrid.h

initWithJumps:amplitude:grid:duration:

initializes the action with the number of jumps, the sin amplitude, the grid size and the duration

- (id)initWithJumps:(int)j amplitude:(float)amp grid:(ccGridSize)gridSize duration:(ccTime)d

Declared In

CCTiledGridAction.h