namespace ReactorMaintenance.Simulation;

public sealed record UndergroundCell
{
    public EUndergroundState State { get; init; }
    public float Amount { get; init; }
    public float Intensity { get; init; }

    public bool IsPresent => State != EUndergroundState.Absent;
    public bool CarriesFlow => State is EUndergroundState.Intact or EUndergroundState.Leaking;
}