Simple Code Conversion

How would I convert the following code to work in cocos2d-x?

sprite.rotation+=10;

Simple enough, but I can’t figure out how to do it since sprite->setRotation(+=10) obviously won’t work.

Thanks!

sprite->setRotation(sprite->getRotation()+10);

:smiley: