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.
27 lines
667 B
27 lines
667 B
// See https://aka.ms/new-console-template for more information
|
|
using Model;
|
|
using Model.Serializer;
|
|
|
|
var manager = new Manager();
|
|
|
|
var xml = new XML_Serializer();
|
|
|
|
|
|
Bestiaire luffy = new Bestiaire("", "", "", "");
|
|
/*
|
|
xml.SetPersonnage(manager.GetPersonnages().ToList());
|
|
xml.SetFDD(manager.GetFruits().ToList());
|
|
xml.SetBateau(manager.GetBateaux().ToList());
|
|
xml.SetBestiaire(manager.GetBestiaires().ToList());
|
|
xml.SetEquipage(manager.GetEquipages().ToList());
|
|
xml.SetIle(manager.GetIles().ToList());
|
|
*/
|
|
|
|
|
|
List<ObjetOhara> listeFavoris = manager.GetFavoris();
|
|
|
|
foreach(ObjetOhara obj in listeFavoris)
|
|
{
|
|
Console.WriteLine(obj.Nom);
|
|
}
|