Commit 61c309ee authored by GORDYJAN's avatar GORDYJAN

Add methods to Personne

parent f11795ea
......@@ -23,5 +23,17 @@ public class Personne {
s += ", et je mesure " + taille + " cm.";
return s;
}
public Double getTaille() {return taille;}
public void setTaille(Double taille) {this.taille = taille;}
public Double getPoids() {return poids;}
public void setPoids(Double poids) {this.poids = poids;}
public String getNom() {return nom;}
public void setNom(String nom) {this.nom = nom;}
public String getPrenom() {return prenom;}
public void setPrenom(String prenom) {this.prenom = prenom;}
public Couleur getYeux() {return yeux;}
public void setYeux(Couleur yeux) {this.yeux = yeux;}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment