Refine ship orders and viewer controls
This commit is contained in:
@@ -13,6 +13,22 @@ public sealed class WorldTopologyBuilder(
|
||||
generationService.PrepareKnownSystems(staticData.KnownSystems),
|
||||
worldGenerationOptions);
|
||||
|
||||
return BuildFromDefinitions(systems);
|
||||
}
|
||||
|
||||
public WorldBuildTopology Build(IReadOnlyList<SolarSystemDefinition> systems)
|
||||
{
|
||||
if (systems.Count == 0)
|
||||
{
|
||||
throw new InvalidOperationException("Scenario-defined systems cannot be empty.");
|
||||
}
|
||||
|
||||
// Temporary QA-only path for fixed-topology scenarios such as "minimal".
|
||||
return BuildFromDefinitions(systems);
|
||||
}
|
||||
|
||||
private WorldBuildTopology BuildFromDefinitions(IReadOnlyList<SolarSystemDefinition> systems)
|
||||
{
|
||||
var systemRuntimes = systems
|
||||
.Select(definition => new SystemRuntime
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user