diff --git a/Sources/CoreLibrary/Manageurs/Manageur.cs b/Sources/CoreLibrary/Manageurs/Manageur.cs index bcaf465..e064afe 100644 --- a/Sources/CoreLibrary/Manageurs/Manageur.cs +++ b/Sources/CoreLibrary/Manageurs/Manageur.cs @@ -129,6 +129,11 @@ namespace CoreLibrary.Manageurs Sauvegarder(); }; } + /// + /// Recherche un joueur existant par son nom. + /// + /// Le nom du joueur à rechercher. + /// Le joueur s'il existe, sinon null. private Joueur? DemanderJoueurExistant(string nom) { @@ -143,6 +148,11 @@ namespace CoreLibrary.Manageurs return null; } + /// + /// Recherche un joueur par son nom ou le crée s'il n'existe pas. + /// + /// Le nom du joueur. + /// Le joueur trouvé ou créé. public Joueur DemanderJoueur(string nom) { Joueur? joueur = DemanderJoueurExistant(nom);