Class GlobalRandom
Static class that contains 1 variable, which is a an RNG instance that is used as the default rng by other features (dice, etc) wherever needed, and can also be used if you need a random number generator for your own code.
Inherited Members
Namespace: GoRogue.Random
Assembly: GoRogue.dll
Syntax
public static class GlobalRandom
Fields
View SourceDefaultRNG
Settable field that specifies what ShaiRandom.Generators.IEnhancedRandom instance should be considered the default RNG. Defaults to an ShaiRandom.Generators.MizuchiRandom, with a random state.
Declaration
public static IEnhancedRandom DefaultRNG
Field Value
Type | Description |
---|---|
IEnhancedRandom |