|
|
@ -102,7 +102,7 @@ namespace Model.Classes
|
|
|
|
private string lienImage;
|
|
|
|
private string lienImage;
|
|
|
|
public Carte(string nom, string pouvoir, string strategie, int? note, string lienImage, string description)
|
|
|
|
public Carte(string nom, string pouvoir, string strategie, int? note, string lienImage, string description)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Nom = nom;
|
|
|
|
this.nom = nom;
|
|
|
|
this.description = description;
|
|
|
|
this.description = description;
|
|
|
|
this.pouvoir = pouvoir;
|
|
|
|
this.pouvoir = pouvoir;
|
|
|
|
this.strategie = strategie;
|
|
|
|
this.strategie = strategie;
|
|
|
@ -119,7 +119,7 @@ namespace Model.Classes
|
|
|
|
if (object.ReferenceEquals(right, null)) return false;
|
|
|
|
if (object.ReferenceEquals(right, null)) return false;
|
|
|
|
if (object.ReferenceEquals(right, this)) return true;
|
|
|
|
if (object.ReferenceEquals(right, this)) return true;
|
|
|
|
if (this.GetType() != right.GetType()) return false;
|
|
|
|
if (this.GetType() != right.GetType()) return false;
|
|
|
|
return this.Equals(right as Carte);
|
|
|
|
return this.Equals((Carte)right);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public bool Equals(Carte other)
|
|
|
|
public bool Equals(Carte other)
|
|
|
|