Updated Sprite class