Namespace Scylla.Core.Util.Ranges
Structs
DoubleRange
Represents an inclusive minimum/maximum range of double-precision floating-point values. Useful for designer-authored data where float precision is insufficient, such as idle/clicker game economies that grow to large magnitudes, scientific simulations, or stat systems that benefit from high-precision arithmetic.
FloatRange
Represents an inclusive minimum/maximum range of single-precision floating-point values. Useful for designer-authored data such as price variance, randomized cooldowns, FOV limits, and any other parameter where a value must fall between two bounds.
IntRange
Represents an inclusive minimum/maximum range of 32-bit signed integer values. Useful for designer-authored data such as enemy spawn level ranges, randomized loot quantities, difficulty tier bounds, and any other parameter where a whole-number value must fall between two bounds.