CCMoveTo Class Reference
Inherits from | CCMoveBy : CCActionInterval : CCFiniteTimeAction : CCAction : NSObject |
Conforms to | NSCopying |
Declared in | CCActionInterval.h CCIntervalAction.h |
Overview
Moves a CCNode object to the position x,y. x and y are absolute coordinates by modifying it’s position attribute. Several CCMoveTo 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