Sprite class work