public void Import() { var mapReader = new BaseOSMLib.MapReader(); mapReader.Read(_mapFile); var buildingMaker = new BaseOSMLib.BuildingMaker(mapReader, _buildingMaterial); var roadMaker = new BaseOSMLib.RoadMaker(mapReader, _roadMaterial); Process(buildingMaker, "Importing buildings"); Process(roadMaker, "Importing roads"); }
public BuildingMaker(MapReader mapReader, Material buildingMaterial) : base(mapReader) { building = buildingMaterial; }
/// <summary> /// Awaken this instance!!! /// </summary> public BaseInfrastructureMaker(BaseOSMLib.MapReader mapReader) { map = mapReader; }
public RoadMaker(MapReader mapReader, Material roadMat) : base(mapReader) { roadMaterial = roadMat; }