CShock/CShocker/Ranges/IntensityRange.cs
2024-01-29 17:23:03 +01:00

19 lines
404 B
C#

namespace CShocker.Ranges;
public class IntensityRange : RandomIntegerRange
{
public IntensityRange(short min, short max) : base(min , max, 0, 100)
{
}
public override bool Equals(object? obj)
{
return obj is IntensityRange && base.Equals(obj);
}
public override int GetHashCode()
{
return HashCode.Combine("IR", base.GetHashCode());
}
}