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.
BowlingScoreApp/Sources/BowlingStub/StubJoueur.cs

21 lines
335 B

using BowlingLib.Model;
using System;
public class StubJoueur
{
private List<Joueur> listJoueurs = new List<Joueur>();
public StubJoueur()
{
}
public List<Joueur> ListJoueurs(int n = 10)
{
for (int i = 0; i < n; i++)
{
listJoueurs.Add(new Joueur("Joueur " + i + 1));
}
return listJoueurs;
}
}