Rotates a CCNode object to a certain angle by modifying it’s rotation attribute. The direction will be decided by the shortest angle.
Class CCRotateTo
#include <Geode/cocos/actions/CCActionInterval.h>
classCCRotateTo:publiccocos2d::CCActionInterval{ ... }
Examples0
Public static methods2
staticcocos2d::CCRotateTo*create(floatfDuration,floatfDeltaAngle)
creates the action
staticcocos2d::CCRotateTo*create(floatfDuration,floatfDeltaAngleX,floatfDeltaAngleY)
creates the action with separate rotation angles
Public member functions5
virtualboolinitWithDuration(floatfDuration,floatfDeltaAngleX,floatfDeltaAngleY)
No description provided
virtualcocos2d::CCObject*copyWithZone(cocos2d::CCZone*pZone)
No description provided
virtualvoidstartWithTarget(cocos2d::CCNode*pTarget)
No description provided