CCMoveBy Class Reference
| Inherits from | CCActionInterval : CCFiniteTimeAction : CCAction : NSObject |
| Conforms to | NSCopying |
| Declared in | CCActionInterval.h CCIntervalAction.h |
Overview
Moves a CCNode object x,y pixels by modifying it’s position attribute. x and y are relative to the position of the object. Several CCMoveBy actions can be concurrently called, and the resulting movement will be the sum of individual movements.
Tasks
-
+ actionWithDuration:position:creates the action
-
– initWithDuration:position:initializes the action