Show / Hide Table of Contents

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.

Inheritance
object
GlobalRandom
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: GoRogue.Random
Assembly: GoRogue.dll
Syntax
public static class GlobalRandom

Fields

View Source

DefaultRNG

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
  • View Source
In this article
Back to top Generated by DocFX