示例#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;
 }