Class CCRotateTo

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

Rotates a CCNode object to a certain angle by modifying it’s rotation attribute. The direction will be decided by the shortest angle.

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
boolinitWithDuration(
floatfDuration
,
floatfDeltaAngle
)

initializes the action

virtualboolinitWithDuration(
floatfDuration
,
floatfDeltaAngleX
,
floatfDeltaAngleY
)
No description provided
virtualcocos2d::CCObject*copyWithZone()
No description provided
virtualvoidstartWithTarget()
No description provided
virtualvoidupdate(
floattime
)
No description provided
Fields0
Protected member functions0
Protected fields6
floatm_fDstAngleX
;
No description provided
floatm_fStartAngleX
;
No description provided
floatm_fDiffAngleX
;
No description provided
floatm_fDstAngleY
;
No description provided
floatm_fStartAngleY
;
No description provided
floatm_fDiffAngleY
;
No description provided