Skip to content
Snippets Groups Projects
Commit b3ff98a1 authored by michael.divia's avatar michael.divia
Browse files

Partie 1

parent 7bcaa5c9
No related branches found
No related tags found
No related merge requests found
Showing
with 2 additions and 2 deletions
File moved
...@@ -58,7 +58,7 @@ public class Carte { ...@@ -58,7 +58,7 @@ public class Carte {
public String getNomCouleur() { public String getNomCouleur() {
String[] NOMS_COULEURS = { "Coeur", "Carreau", "Pique", "Trèfle" }; String[] NOMS_COULEURS = { "♥", "♦", "♠", "♣" };
return NOMS_COULEURS[couleur.ordinal()]; return NOMS_COULEURS[couleur.ordinal()];
} }
...@@ -77,7 +77,7 @@ public class Carte { ...@@ -77,7 +77,7 @@ public class Carte {
} else { } else {
return getNomRang() + (getCouleur() == null ? "" : " de " + getNomCouleur()); return getNomCouleur() + " - " + getNomRang();
} }
} }
......
File added
File deleted
File deleted
File deleted
File deleted
File deleted
File deleted
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment