title: Rotating a sprite in andEngine. On a certain angle with a certain time
body: <p>I have a sprite in andEngine. All I want to do is to rotate it on a certain angle again and again. Now the problem is that when I rotate the sprite it only changes it angle.
  But I want to rotate it in a sequence. For example if my current angle is zero and next angle is 180. Then the sprite should move like this 0 1 2 3 4 5 6 7 8 9 10...180.
  I hope I cleared my question. I think there is something like this in andEngine like</p>
  
  <pre><code>new RotationModifier(
                      10,                 // duration
                      0,                  // angle start                
                      -360                // angle end
                  )
  </code></pre>
  
  <p>But I dont know how to use it in my class which is extended my Sprite class.</p>