You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ohara_MAUI/Sources/Model/Personnage.cs

39 lines
1.4 KiB

namespace Model
{
public class Personnage
{
public string Nom { get; set; }
public double Prime { get; set; }
public string Epithete { get; set; }
public int Age { get; set; }
public double Taille { get; set; }
public string Origine { get; set; }
public string Biographie { get; set; }
public string Citation { get; set; }
public Equipage? Equipage { get; set; }
public List<FruitDuDemon> Fruit { get; set; } = new List<FruitDuDemon>();
public string? Image { get; set; }
public Personnage(string nom, double prime, string epithete, int age, double taille, string origine, string biographie, string citation, string image)
{
Nom = nom;
Prime = prime;
Epithete = epithete;
Age = age;
Taille = taille;
Origine = origine;
Biographie = biographie;
Citation = citation;
Image = image;
}
public Personnage(string nom, double prime, string epithete, int age, double taille, string origine, string biographie, string citation,string image ,Equipage equipage,List<FruitDuDemon> fruit) : this(nom,prime,epithete,age,taille,origine,biographie,citation,image)
{
Equipage = equipage;
Fruit = fruit;
}
}
}