|
|
|
@ -6,12 +6,12 @@ using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using System.Xml.Linq;
|
|
|
|
|
|
|
|
|
|
namespace Model
|
|
|
|
|
namespace Model.Classes
|
|
|
|
|
{
|
|
|
|
|
[DataContract(Name = "fruitdudemon")]
|
|
|
|
|
public class FruitDuDemon : ObjetOhara
|
|
|
|
|
{
|
|
|
|
|
[DataMember (Name = "nomromanise")]
|
|
|
|
|
[DataMember(Name = "nomromanise")]
|
|
|
|
|
public string NomRomanise { get; set; }
|
|
|
|
|
[DataMember(Name = "type")]
|
|
|
|
|
public string Type { get; set; }
|
|
|
|
@ -25,14 +25,14 @@ namespace Model
|
|
|
|
|
public string Forces { get; set; }
|
|
|
|
|
[DataMember(Name = "faiblesses")]
|
|
|
|
|
public string Faiblesses { get; set; }
|
|
|
|
|
[DataMember(Name = "utilisateur",EmitDefaultValue = false)]
|
|
|
|
|
public List<Personnage> Utilisateur { get; set; }= new List<Personnage>();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember(Name = "utilisateur", EmitDefaultValue = false)]
|
|
|
|
|
public List<Personnage> Utilisateur { get; set; } = new List<Personnage>();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public FruitDuDemon(string nom, string nomRomanise, string type, int premierChap, int premierEp, string description, string forces, string faiblesses) : base(nom)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NomRomanise = nomRomanise;
|
|
|
|
|
Type = type;
|
|
|
|
|
if (premierEp < 0)
|
|
|
|
@ -56,13 +56,13 @@ namespace Model
|
|
|
|
|
Faiblesses = faiblesses;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public FruitDuDemon(string nom, string nomRomanise, string type, int premierChap, int premierEp, string description, string forces, string faiblesses, string image) : this(nom, nomRomanise,type,premierChap,premierEp,description,forces,faiblesses)
|
|
|
|
|
public FruitDuDemon(string nom, string nomRomanise, string type, int premierChap, int premierEp, string description, string forces, string faiblesses, string image) : this(nom, nomRomanise, type, premierChap, premierEp, description, forces, faiblesses)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
Image = image;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public FruitDuDemon(string nom, string nomRomanise, string type, int premierChap, int premierEp, string description, string forces, string faiblesses,string image, List<Personnage> utilisateur) : this( nom, nomRomanise, type, premierChap, premierEp, description, forces, faiblesses, image)
|
|
|
|
|
public FruitDuDemon(string nom, string nomRomanise, string type, int premierChap, int premierEp, string description, string forces, string faiblesses, string image, List<Personnage> utilisateur) : this(nom, nomRomanise, type, premierChap, premierEp, description, forces, faiblesses, image)
|
|
|
|
|
{
|
|
|
|
|
Utilisateur = utilisateur;
|
|
|
|
|
}
|