MoveBy Class Reference

#import <IntervalAction.h>

Inherits MoveTo.

Collaboration diagram for MoveBy:

Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithDuration:position:

Static Public Member Functions

(id) + actionWithDuration:position:


Detailed Description

Moves a CocosNode object x,y pixels by modifying it's position attribute. x and y are relative to the position of the object. Duration is is seconds.

Member Function Documentation

+ (id) actionWithDuration: (ccTime duration
position: (CGPoint)  deltaPosition 

creates the action

Implements MoveTo.

- (id) initWithDuration: (ccTime duration
position: (CGPoint)  deltaPosition 

initializes the action

Implements MoveTo.


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

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