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.
47 lines
1.1 KiB
47 lines
1.1 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 Manager() {
|
|
DataManager = new StubManager();
|
|
}
|
|
|
|
public List<Personnage> GetPersonnages()
|
|
{
|
|
return DataManager.GetPersonnages().ToList();
|
|
}
|
|
public List<FruitDuDemon> GetFruits()
|
|
{
|
|
return DataManager.GetFruits().ToList();
|
|
}
|
|
public List<Equipage> GetEquipages()
|
|
{
|
|
return DataManager.GetEquipages().ToList();
|
|
}
|
|
public List<Bateau> GetBateaux()
|
|
{
|
|
return DataManager.GetBateaux().ToList();
|
|
}
|
|
public List<Bestiaire> GetBestiaires()
|
|
{
|
|
return DataManager.GetBestiaires().ToList();
|
|
}
|
|
public List<Ile> GetIles()
|
|
{
|
|
return DataManager.GetIles().ToList();
|
|
}
|
|
}
|
|
}
|