2024-01-17 04:11:30 +01:00
|
|
|
|
namespace CShocker.Ranges;
|
|
|
|
|
|
|
|
|
|
public class IntensityRange : RandomIntegerRange
|
|
|
|
|
{
|
2024-01-17 22:16:40 +01:00
|
|
|
|
public IntensityRange(short min, short max) : base(min , max, 0, 100)
|
2024-01-17 04:11:30 +01:00
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
2024-01-29 17:05:13 +01:00
|
|
|
|
|
|
|
|
|
public override bool Equals(object? obj)
|
|
|
|
|
{
|
|
|
|
|
return obj is IntensityRange && base.Equals(obj);
|
|
|
|
|
}
|
2024-01-29 17:23:03 +01:00
|
|
|
|
|
|
|
|
|
public override int GetHashCode()
|
|
|
|
|
{
|
|
|
|
|
return HashCode.Combine("IR", base.GetHashCode());
|
|
|
|
|
}
|
2024-01-17 04:11:30 +01:00
|
|
|
|
}
|