cocos2d for iPhone 1.0.0
2D engine for iOS and OS X
Public Member Functions | Static Public Member Functions
CCMoveBy Class Reference

#import <CCActionInterval.h>

Inheritance diagram for CCMoveBy:
Inheritance graph
[legend]
Collaboration diagram for CCMoveBy:
Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithDuration:position:

Static Public Member Functions

(id) + actionWithDuration:position:

Detailed Description

Moves a CCNode 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.

Definition at line 178 of file CCActionInterval.h.


Member Function Documentation

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

creates the action

Implements CCMoveTo.

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

initializes the action

Implements CCMoveTo.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines

cocos2d for iPhone API Reference - Generated using Doxygen 1.7.4