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.
29 lines
695 B
29 lines
695 B
using CoreLibrary.Joueurs;
|
|
using CoreLibrary.Regles;
|
|
|
|
namespace CoreLibrary.Manager
|
|
{
|
|
public class Manager : IPersistanceManager
|
|
{
|
|
private Joueur[] joueurs = [];
|
|
public IReadOnlyList<Joueur> Joueurs => Array.AsReadOnly(joueurs);
|
|
|
|
public void Charger()
|
|
{
|
|
joueurs = [
|
|
new Joueur("Pauline", 50, 5, 2, 0),
|
|
new Joueur("Céleste", 40, 6, 2, 0),
|
|
new Joueur("Camille", 55, 8, 0, 1),
|
|
new Joueur("Toto", 70, 0, 0, 10),
|
|
];
|
|
}
|
|
|
|
|
|
public void Enregistrer()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
}
|
|
}
|