update code to comply with the changes in the Sprite class. cached rotation
images were removed becuase it is out dated