![]() |
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import <CCActionInterval.h>
Public Member Functions | |
(id) | - initWithDuration:position: |
Static Public Member Functions | |
(id) | + actionWithDuration:position: |
Protected Attributes | |
CGPoint | _endPosition |
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.
+ (id) actionWithDuration: | (ccTime) | duration | |
position: | (CGPoint) | position | |
creates the action
Implements CCMoveBy.
- (id) initWithDuration: | (ccTime) | duration | |
position: | (CGPoint) | position | |
initializes the action
Implements CCMoveBy.