From c6c5e46ebea85e9b31fe8494f2b869f46c13a3fc Mon Sep 17 00:00:00 2001 From: Augustin AFFOGNON Date: Sat, 22 Oct 2022 19:07:05 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Sources/BowlingLib?= =?UTF-8?q?/Model/Joueur.cs'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/BowlingLib/Model/Joueur.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Sources/BowlingLib/Model/Joueur.cs b/Sources/BowlingLib/Model/Joueur.cs index 99995c7..856c323 100644 --- a/Sources/BowlingLib/Model/Joueur.cs +++ b/Sources/BowlingLib/Model/Joueur.cs @@ -43,6 +43,12 @@ namespace BowlingLib.Model } } + public bool Equals(Joueur other) + { + return Pseudo.Equals(other.Pseudo); + } + + public override bool Equals(object obj) { if(ReferenceEquals(obj, null)) return false;