public MapGenerator(IMapDataProvider dataProvider) { //var _dataProvider = (MapDataProvider)dataProvider; _mapGenerationInput = dataProvider.GetMapGenerationData(); generatedMap = GenerateMap(); }
public DebugMapGenerator(IMapDataProvider debugMapDataProvider, DebugSectionBuilder debugSectionBuilder) { _mapData = debugMapDataProvider.GetMapGenerationData(); _debugSectionBuilder = debugSectionBuilder; }