Wiki

Clone wiki

RogueSharp / RogueSharp.Random / RandomState / README

RandomState Class

A class representing the state of a pseudo-random number generation algorithm at a point in time. This POCO (Plain Old C# Object) can be easily serialized and deserialized

Inheritance Hierarchy

SystemObject
RogueSharp.RandomRandomState

Namespace: RogueSharp.Random
Assembly:

Syntax

publicclassRandomState

The RandomState type exposes the following members.

Constructors

Name Description
RandomState Initializes a new instance of the RandomState class

Properties

Name Description
NumberGenerated The number of times that the Next method has been called on the pseudo-random number generator being used
Seed The seed that was originally used to create the pseudo-random number generator

Methods

Name Description
Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
GetType Gets the Type of the current instance. (Inherited from Object.)
MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
ToString Returns a string that represents the current object. (Inherited from Object.)

See Also

Reference

RogueSharp.Random Namespace

[5]: 2014-2016 Faron Bracy

Updated