![]() |
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import <CCActionTiledGrid.h>
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 |
CCJumpTiles3D action. A sin function is executed to move the tiles across the Z axis
+ (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
- (float) amplitude [read, write, assign] |
amplitude of the sin
- (float) amplitudeRate [read, write, assign] |
amplitude rate