Generalize player to create Sprite class