12 lines
470 B
C#
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;
|
|
} |