added setX to player class for later use