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
CCJumpBy Class Reference

#import <CCActionInterval.h>

+ Inheritance diagram for CCJumpBy:
+ Collaboration diagram for CCJumpBy:

List of all members.

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

Detailed Description

Moves a CCNode object simulating a parabolic jump movement by modifying its position attribute.


Member Function Documentation

+ (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


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