public Lights( IDelay delayProvider, ILayerBuilder layerBuilder, ILightClient lightClient, TimeSpan?delay = null) { this.delayProvider = delayProvider; this.layerBuilder = layerBuilder; this.lightClient = lightClient; this.delay = delay ?? TimeSpan.FromMilliseconds(50); }
public void Add(ILayerBuilder layerBuilder) { this.layerBuilders.Add(layerBuilder); }
public IGeneratorBuilder Layer(ILayerBuilder layerBuilding) { _layerBuilder = layerBuilding; return(this); }
public IGeneratorBuilder Layer(Action <ILayerBuilder> layerBuildingAction) { _layerBuilder = new LayerBuilder(); layerBuildingAction(_layerBuilder); return(this); }