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

19 lines
408 B
C#

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