/// <summary> /// Constructeur vide de la classe Evolution /// </summary> public Evolution() { this.idEvol = 0; this.libelleEvolution = null; this.pkmSousEvolution = null; this.pkmSurEvolution = null; this.typeEvolution = null; }
/// <summary> /// Constructeur Plein de la classe Evolution /// </summary> /// <param name="libelle">String</param> /// <param name="sousEvolution">Pokemon</param> /// <param name="surEvolution">Pokemon</param> /// <param name="type">TypeEvolution</param> public Evolution(int id, String libelle, Pokemon sousEvolution, Pokemon surEvolution, TypeEvolution type) { this.idEvol = id; this.libelleEvolution = libelle; this.pkmSousEvolution = sousEvolution; this.pkmSurEvolution = surEvolution; this.typeEvolution = type; }
public void SetTypeEvolution(TypeEvolution type) { this.typeEvolution = type; }