cleaned PlayerSprite code a little bit