Added setSlope() to Sprite.