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.
Class CCMoveTo
#include <Geode/cocos/actions/CCActionInterval.h>
classCCMoveTo:publiccocos2d::CCMoveBy{ ... }
Examples0
Public static methods1
staticcocos2d::CCMoveTo*create(floatduration,cocos2d::CCPointconst&position)
creates the action
Public member functions3
boolinitWithDuration(floatduration,cocos2d::CCPointconst&position)
initializes the action
virtualcocos2d::CCObject*copyWithZone(cocos2d::CCZone*pZone)
No description provided
virtualvoidstartWithTarget(cocos2d::CCNode*pTarget)
No description provided
Fields1
cocos2d::CCPointm_endPosition;
No description provided