JumpBy Class Reference

#import <IntervalAction.h>

Inherits IntervalAction.

Inherited by JumpTo.

Collaboration diagram for JumpBy:

Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithDuration:position:height:jumps:

Static Public Member Functions

(id) + actionWithDuration:position:height:jumps:


Detailed Description

Moves a CocosNode object simulating a jump movement by modifying it's position attribute.

Member Function Documentation

+ (id) actionWithDuration: (ccTime duration
position: (CGPoint)  position
height: (ccTime height
jumps: (int)  jumps 

creates the action

- (id) initWithDuration: (ccTime duration
position: (CGPoint)  position
height: (ccTime height
jumps: (int)  jumps 

initializes the action


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

Generated on Tue Jun 9 10:39:38 2009 for cocos2d for iPhone 0.7.3 by  doxygen 1.5.8