Wiki
Clone wikiRogueSharp / RogueSharp.Random / MinRandom / README
MinRandom Class
A class implementing IRandom which always returns the lowest possible result
Inheritance Hierarchy
SystemObject
RogueSharp.RandomMinRandom
Namespace: RogueSharp.Random
Assembly:
Syntax
public class MinRandom : IRandom
The MinRandom type exposes the following members.
Constructors
Name | Description |
---|---|
MinRandom | Initializes a new instance of the MinRandom class |
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.) |
Next(Int32) | Gets the next integer in the series which will always be 0 |
Next(Int32, Int32) | Gets the next integer in the series which will always be minValue |
Restore | Restores the state of the generator which is essentially a no-op for this generator |
Save | Save the current state of the generator which is essentially a no-op for this generator |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also
Reference
[7]: 2014-2016 Faron Bracy
Updated