comparison RollcallRaceParser.cs @ 10:395f2bf0549e

Re #17 - Complete core Rollcall loading * Resolve warning about deprecated constructor
author IBBoard <dev@ibboard.co.uk>
date Thu, 09 Apr 2009 15:25:31 +0000
parents 35bc86f8c283
children 9d0d40324494
comparison
equal deleted inserted replaced
9:5f0259e69a7f 10:395f2bf0549e
33 { 33 {
34 throw new InvalidFileException("Name field of Rollcall race did not exist"); 34 throw new InvalidFileException("Name field of Rollcall race did not exist");
35 } 35 }
36 36
37 LogNotifier.Debug(typeof(RollcallRaceParser), "Loading Rollcall race ID "+id); 37 LogNotifier.Debug(typeof(RollcallRaceParser), "Loading Rollcall race ID "+id);
38 Race race = new Race(id, name, RollcallFactory.GetFactory().RollcallSystem.ID, RollcallFactory.GetFactory()); 38 Race race = new Race(id, name, RollcallFactory.GetFactory().RollcallSystem, RollcallFactory.GetFactory());
39 race.GameSystem = RollcallFactory.GetFactory().RollcallSystem; 39 race.GameSystem = RollcallFactory.GetFactory().RollcallSystem;
40 return race; 40 return race;
41 } 41 }
42 42
43 public static void ReadCategories(IniFile file, Race race) 43 public static void ReadCategories(IniFile file, Race race)