public void Initialize() { _subject = new DatasetBuilder { CenterSystem = new DB.InMemory.SystemClass(), StarList = SpawnStars() }; }
private void GenerateDataSetStandard() { InitStarLists(); var builder = new DatasetBuilder() { // TODO: I'm working on deprecating "Origin" so that everything is build with an origin of (0,0,0) and the camera moves instead. // This will allow us a little more flexibility with moving the cursor around and improving translation/rotations. CenterSystem = CenterSystem, VisitedSystems = VisitedSystems, GridLines = toolStripButtonGrid.Checked, DrawLines = toolStripButtonDrawLines.Checked, AllSystems = toolStripButtonShowAllStars.Checked, Stations = toolStripButtonStations.Checked }; if (_starList != null) { builder.StarList = _starList.ConvertAll(system => (ISystem)system); } if (ReferenceSystems != null) { builder.ReferenceSystems = ReferenceSystems.ConvertAll(system => (ISystem)system); } _datasets = builder.Build(); }