public GenerateRuntimeBitmapHandler( ICurrentWorldSeedProvider currentWorldSeedProvider, IRenderingLocationProvider renderingLocationProvider, IAlgorithmFlowImageGeneration algorithmFlowImageGeneration) { this.m_CurrentWorldSeedProvider = currentWorldSeedProvider; this.m_RenderingLocationProvider = renderingLocationProvider; this.m_AlgorithmFlowImageGeneration = algorithmFlowImageGeneration; }
public GeneratePerformanceResultsHandler( ICurrentWorldSeedProvider currentWorldSeedProvider, IRenderingLocationProvider renderingLocationProvider, IStorageAccess storageAccess, IAlgorithmFlowImageGeneration algorithmFlowImageGeneration) { this.m_CurrentWorldSeedProvider = currentWorldSeedProvider; this.m_RenderingLocationProvider = renderingLocationProvider; this.m_StorageAccess = storageAccess; this.m_AlgorithmFlowImageGeneration = algorithmFlowImageGeneration; }
public FlowProcessingRequestHandler( ICurrentWorldSeedProvider currentWorldSeedProvider, IRenderingLocationProvider renderingLocationProvider, IAlgorithmFlowImageGeneration algorithmFlowImageGeneration, IStorageAccess storageAccess) { Console.WriteLine("Request handler created."); this.m_ProcessingThread = new Thread(this.Run); this.m_ProcessingThread.IsBackground = true; this.m_CurrentWorldSeedProvider = currentWorldSeedProvider; this.m_RenderingLocationProvider = renderingLocationProvider; this.m_AlgorithmFlowImageGeneration = algorithmFlowImageGeneration; this.m_StorageAccess = storageAccess; }
public TraceForm( IStorageAccess storageAccess, IAlgorithmTraceImageGeneration algorithmTraceImageGeneration, FlowElement flowElement, ICurrentWorldSeedProvider currentWorldSeedProvider) { this.m_AlgorithmTraceImageGeneration = algorithmTraceImageGeneration; this.InitializeComponent(); this.m_Layer = storageAccess.ToRuntime(((AlgorithmFlowElement)flowElement).Layer); this.m_Layer.SetSeed(currentWorldSeedProvider.Seed); this.c_FormZoomSize.Items.Add(new ZoomLevel { Level = 1 }); this.c_FormZoomSize.Items.Add(new ZoomLevel { Level = 2 }); this.c_FormZoomSize.SelectedIndex = 0; }