예제 #1
0
        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
            };
        }
예제 #2
0
 public static Case Generate(byte colonne)
 => new Case(colonne, GenerateurCase.Generate(colonne));