Added rotate method to Sprite.