|
|
@ -11,9 +11,11 @@
|
|
|
|
lesJetons = new Jeton?[tailleCode];
|
|
|
|
lesJetons = new Jeton?[tailleCode];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public Code(IEnumerable<Jeton?> jetons)
|
|
|
|
public Code(IEnumerable<Jeton> jetons)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
lesJetons = jetons.ToArray();
|
|
|
|
lesJetons = new Jeton?[NbJetons];
|
|
|
|
|
|
|
|
foreach(Jeton jeton in jetons)
|
|
|
|
|
|
|
|
AjouterJeton(jeton);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void AjouterJeton(Jeton jeton)
|
|
|
|
public void AjouterJeton(Jeton jeton)
|
|
|
|