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.
mastermind/Sources/CoreLibrary/Manager/Manager.cs

27 lines
693 B

using CoreLibrary.Joueurs;
using CoreLibrary.Regles;
namespace CoreLibrary.Manager
{
public class Manager : IPersistanceManager
{
private Joueur[] classement = [];
public List<Joueur> Classement => new List<Joueur>(classement);
public void Charger()
{
classement = [
new Joueur("Pauline", new Core.Plateau(4, 12)),
new Joueur("Céleste", new Core.Plateau(4, 12)),
new Joueur("Camille", new Core.Plateau(4, 12)),
new Joueur("Toto", new Core.Plateau(4, 12)),
];
}
public void Enregistrer()
{
}
}
}