Exemplo n.º 1
0
        public Plan3Auto()
        {
            fp3 = new feuxPlan3(true);
            qTempsVoitureBas    = Expo(moyenVoitureBas, tempsDuSimulation);
            qTempsVoitureGauche = Expo(moyenVoitureGauche, tempsDuSimulation);
            qTempsPersonHaut    = Expo(moyenPersonHaut, tempsDuSimulation);
            qTempsPersonGauche  = Expo(moyenPersonGauche, tempsDuSimulation);
            tVoitureBas         = new VoiturePlan3Auto[qTempsVoitureBas.Count];
            tVoitureGauche      = new VoiturePlan3Auto[qTempsVoitureGauche.Count];
            tPersonHaut         = new PersonPlan3Auto[qTempsPersonHaut.Count];
            tPersonGauche       = new PersonPlan3Auto[qTempsPersonGauche.Count];
            //for (int i = 0; i < qTempsVoitureGauche.Count; i++)
            //{
            //    tVoitureGauche[i] = new VoiturePlan3Auto("gauche");
            //}
            //for (int i = 0; i < qTempsVoitureBas.Count; i++)
            //{
            //    tVoitureBas[i] = new VoiturePlan3Auto("bas");
            //}



            //for (int i = 0; i < qTempsPersonGauche.Count; i++)
            //{
            //    tPersonGauche[i] = new PersonPlan3Auto("gauche");
            //}
            //for (int i = 0; i < qTempsPersonHaut.Count; i++)
            //{
            //    tPersonHaut[i] = new PersonPlan3Auto("haut");
            //}
        }
Exemplo n.º 2
0
 public Plan3Manuel()
 {
     fp3 = new feuxPlan3(false);
 }