Пример #1
0
        public Jeu()
        {
            int nbEscargots = 5;

            de        = new De();
            escargots = new Escargot[nbEscargots];
            for (int i = 0; i < escargots.Length; i++)
            {
                Tortue tortue = new Tortue(de.Lancer(0, 4));
                escargots[i] = new Escargot(tortue);
            }
        }
Пример #2
0
 public Escargot(Tortue tortue)
 {
     Pas    = 0;
     Tortue = tortue;
 }