Add sprinkler valve simulation contract
This commit is contained in:
@@ -96,6 +96,7 @@ public sealed class SimulationEngine
|
||||
|
||||
var next = level;
|
||||
next = NetworkPropagationSystem.Propagate(next);
|
||||
next = SprinklerSystem.ApplyPressureDebt(next);
|
||||
next = ConsumerSystem.Resolve(next);
|
||||
next = StructuralIntegritySystem.Resolve(next);
|
||||
return next;
|
||||
@@ -104,6 +105,7 @@ public sealed class SimulationEngine
|
||||
private static LevelState ResolveStepContent(LevelState level)
|
||||
{
|
||||
var next = level;
|
||||
next = SprinklerSystem.Discharge(next);
|
||||
next = LeakSystem.Inject(next);
|
||||
next = SurfaceInteractionSystem.Resolve(next);
|
||||
next = next with { Global = next.Global with { Step = next.Global.Step + 1 } };
|
||||
|
||||
Reference in New Issue
Block a user