Ejemplo n.º 1
0
        private void ReadNonCarSection()
        {
            NonCars = new List <NoncarFile>();

            int nbrNonCars = ReadLineAsInt();

            for (int i = 0; i < nbrNonCars; i++)
            {
                string     filename = ReadLine();
                NoncarFile file     = new NoncarFile(GameVars.BasePath + "Noncars\\" + filename);
                NonCars.Add(file);
            }
        }
Ejemplo n.º 2
0
        private void ReadNonCarSection()
        {
            NonCars = new List<NoncarFile>();

            int nbrNonCars = ReadLineAsInt();
            for (int i = 0; i < nbrNonCars; i++)
            {
                string filename = ReadLine();
                NoncarFile file = new NoncarFile(GameVars.BasePath + "Noncars\\" + filename);
                NonCars.Add(file);
            }
        }