 | GeneratorUniformRandomInt Method (Int32, Int32) |
Makes a generator hat generates integers uniformly distributed between 0 (included) and
the specified limit (excluded).
Namespace:
Gamelogic.Extensions.Algorithms
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntaxpublic static IGenerator<int> UniformRandomInt(
int upperLimitExcluded,
int seed
)
Parameters
- upperLimitExcluded
- Type: SystemInt32
The upper limit (excluded). - seed
- Type: SystemInt32
The seed to use for the random number generator.
Return Value
Type:
IGeneratorInt32A new generator.
Exceptions
See Also