Class CCMoveBy

#include <Geode/cocos/actions/CCActionInterval.h>
classCCMoveBy:publiccocos2d::CCActionInterval{ ... }

Since v2.1beta2-custom

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.

Examples0
Public static methods1
staticcocos2d::CCMoveBy*create(
floatduration
,)

creates the action

Public member functions5
boolinitWithDuration(
floatduration
,)

initializes the action

virtualcocos2d::CCObject*copyWithZone()
No description provided
virtualvoidstartWithTarget()
No description provided
virtualcocos2d::CCActionInterval*reverse()
No description provided
virtualvoidupdate(
floattime
)
No description provided
Fields0
Protected member functions0
Protected fields3
cocos2d::CCPointm_positionDelta
;
No description provided
cocos2d::CCPointm_startPosition
;
No description provided
cocos2d::CCPointm_previousPosition
;
No description provided