public Carte() { GenerateurCase.Reset(); for (byte i = 0; i < 5; ++i) { for (byte j = 0; j < 5; ++j) { Cases[j, i] = Case.Generate(i); } } Cases[2, 2] = new Case(2, 0) { Sortie = true }; }
public static Case Generate(byte colonne) => new Case(colonne, GenerateurCase.Generate(colonne));