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
631 B
27 lines
631 B
using CoreLibrary.Joueurs;
|
|
using CoreLibrary.Regles;
|
|
|
|
namespace CoreLibrary.Manager
|
|
{
|
|
public class Manager : IPersistanceManager
|
|
{
|
|
private Joueur[] joueurs = [];
|
|
public Joueur[] Joueurs => (Joueur[]) joueurs.Clone();
|
|
|
|
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()
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|