public PlaceElementBuilder(MaterialProvider customizationService,
                                   IFileSystemService fileSystemService, IPathResolver pathResolver)
        {
            _materialProvider = customizationService;
            var iconMappingString = fileSystemService.ReadText(pathResolver.Resolve(IconSchemaFile));

            _iconMapping = CreateIconMapping(iconMappingString);
        }
Esempio n. 2
0
 public GameObjectBuilder(MaterialProvider materialProvider, IEnumerable <IElementBuilder> elementBuilders)
 {
     _materialProvider = materialProvider;
     _elementBuilders  = elementBuilders.ToList();
 }