public Generator(ITileManager manager, IOreTable oreTable, IDrawer drawer, IGeneratorParameters parameters) { this.manager = manager; this.oreTable = oreTable; this.drawer = drawer; this.parameters = parameters; CanGenerateTree = this.parameters.TreeSpread; }
public Uri Build(IGeneratorParameters generatorParameters, IWebPagePath basePagePath) { var uriString = ""; uriString += _baseBuilder.Build(basePagePath); uriString += _creativityPathBuilder.Build(generatorParameters.CreativityLevel); uriString += _seedPathBuilder.Build(generatorParameters.GenerationSeed); return(new Uri(uriString, UriKind.Absolute)); }
public ImageUriBuilderParameters(IGeneratorParameters generatorParameters, string hostName, string domain) { GeneratorParameters = generatorParameters; HostName = hostName; Domain = hostName; }