Factorisation de la classe Player