extending the player class with some states