CCMoveTo
CCMoveTo
Cocos2DInheritance: System.Object → Cocos2D.CCAction → Cocos2D.CCFiniteTimeAction → Cocos2D.CCActionInterval → Cocos2D.CCMoveBy
Implements: Cocos2D.ICCCopyable
Constructors
CCMoveTo(CCMoveTo)
CCMoveTo(CCMoveTo)(Cocos2D.CCMoveTo moveTo)Parameters:
moveTo (Cocos2D.CCMoveTo)CCMoveTo(float, CCPoint)
CCMoveTo(float, CCPoint)(System.Single duration, Cocos2D.CCPoint position)Parameters:
duration (System.Single)position (Cocos2D.CCPoint)Methods
Copy(ICCCopyable)
System.Object Copy(ICCCopyable)(Cocos2D.ICCCopyable zone)Parameters:
zone (Cocos2D.ICCCopyable)Returns:
System.ObjectExample
InitWithDuration(float, CCPoint)
System.Boolean InitWithDuration(float, CCPoint)(System.Single duration, Cocos2D.CCPoint position)Parameters:
duration (System.Single)position (Cocos2D.CCPoint)Returns:
System.BooleanExample
StartWithTarget(CCNode)
StartWithTarget(CCNode)(Cocos2D.CCNode target)Parameters:
target (Cocos2D.CCNode)Example
Update(float)
Update(float)(System.Single time)Parameters:
time (System.Single)Example