コード例 #1
0
ファイル: Parcours.cs プロジェクト: helios57/anrl
 public Parcours(Map parentMap)
     : base()
 {
     this.forbiddenZones = new ForbiddenZoneCollection();
     this.routes = new RouteCollection();
     this.nbLine = new Gate();
     this.parentMap = parentMap;
 }
コード例 #2
0
ファイル: Parcours.cs プロジェクト: helios57/anrl
 public Parcours(string filepath, Map parentMap)
     : base()
 {
     this.forbiddenZones = new ForbiddenZoneCollection();
     this.routes = new RouteCollection();
     this.nbLine = new Gate();
     this.parentMap = parentMap;
     this.importFromDxf(filepath);
 }
コード例 #3
0
ファイル: RouteCollection.cs プロジェクト: helios57/anrl
 public void AddRange(RouteCollection itemCollection)
 {
     foreach (Route item in itemCollection)
     {
         items.Add(item); // ToDo: key unique?!
     }
 }