Files
zfxaction26_2/src/ReactorMaintenance.Simulation/Models/UndergroundCell.cs
2026-05-11 22:18:43 +02:00

12 lines
470 B
C#

namespace ReactorMaintenance.Simulation;
public sealed record UndergroundCell
{
public EUndergroundState State { get; init; }
public float Amount { get; init; }
public float Intensity { get; init; }
public int StructuralIntegrity { get; init; } = Balancing.Current.MaxStructuralIntegrity;
public bool IsPresent => State != EUndergroundState.Absent;
public bool CarriesFlow => State is EUndergroundState.Intact or EUndergroundState.Leaking;
}