![]() |
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import <CCActionInterval.h>
Public Member Functions | |
(id) | - initWithDuration:position:height:jumps: |
Static Public Member Functions | |
(id) | + actionWithDuration:position:height:jumps: |
Protected Attributes | |
CGPoint | _startPosition |
CGPoint | _delta |
ccTime | _height |
NSUInteger | _jumps |
CGPoint | _previousPos |
Moves a CCNode object simulating a parabolic jump movement by modifying its position attribute.
+ (id) actionWithDuration: | (ccTime) | duration | |
position: | (CGPoint) | position | |
height: | (ccTime) | height | |
jumps: | (NSUInteger) | jumps | |
creates the action
- (id) initWithDuration: | (ccTime) | duration | |
position: | (CGPoint) | position | |
height: | (ccTime) | height | |
jumps: | (NSUInteger) | jumps | |
initializes the action