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.
58 lines
1.5 KiB
58 lines
1.5 KiB
using Model.Stub;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Model
|
|
|
|
{
|
|
public class Manager
|
|
{
|
|
public IDataManager DataManager { get; set; }
|
|
|
|
public List<Personnage> Personnages { get; set; }
|
|
public List<FruitDuDemon> Fruits { get; set; }
|
|
public List<Equipage> Equipages { get; set; }
|
|
public List<Bateau> Bateaux { get; set; }
|
|
public List<Bestiaire> Bestiaires { get; set; }
|
|
public List<Ile> Iles { get; set; }
|
|
|
|
public Manager() {
|
|
DataManager = new StubManager();
|
|
//Personnages = DataManager.GetPersonnages();
|
|
//Fruits = DataManager.GetFruits();
|
|
//Equipages = Stub.GetEquipages();
|
|
//Bateaux = Stub.GetBateaux();
|
|
//Bestiaires = Stub.GetBestiaires();
|
|
//Iles = Stub.GetIles();
|
|
}
|
|
|
|
public List<Personnage> GetPersonnages()
|
|
{
|
|
return Personnages;
|
|
}
|
|
public List<FruitDuDemon> GetFruits()
|
|
{
|
|
return Fruits;
|
|
}
|
|
public List<Equipage> GetEquipages()
|
|
{
|
|
return Equipages;
|
|
}
|
|
public List<Bateau> GetBateaux()
|
|
{
|
|
return Bateaux;
|
|
}
|
|
public List<Bestiaire> GetBestiaires()
|
|
{
|
|
return Bestiaires;
|
|
}
|
|
public List<Ile> GetIles()
|
|
{
|
|
return Iles;
|
|
}
|
|
}
|
|
}
|