예제 #1
0
        protected List <Wheel> GetWheelsParameters(Dictionary <string, string> i_Parametres, int i_NumberOfWheels, float i_MaximumAirPressure)
        {
            List <Wheel> wheels = new List <Wheel>(i_NumberOfWheels);

            for (int i = 1; i <= i_NumberOfWheels; ++i)
            {
                wheels.Add(Wheel.MakeSingleWheel(i_Parametres, i, i_MaximumAirPressure));
            }

            return(wheels);
        }