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

#import <CCActionTiledGrid.h>

+ Inheritance diagram for CCJumpTiles3D:
+ Collaboration diagram for CCJumpTiles3D:

List of all members.

Public Member Functions

(id) - initWithDuration:size:jumps:amplitude:
(id) - initWithJumps:amplitude:grid:duration:

Static Public Member Functions

(id) + actionWithDuration:size:jumps:amplitude:
(id) + actionWithJumps:amplitude:grid:duration:

Protected Attributes

NSUInteger _jumps
float _amplitude
float _amplitudeRate

Properties

float amplitude
float amplitudeRate

Detailed Description

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


Member Function Documentation

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

creates 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 

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


Property Documentation

- (float) amplitude [read, write, assign]

amplitude of the sin

- (float) amplitudeRate [read, write, assign]

amplitude rate


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