Class DefaultRngSource
An rng source that uses
Implements
Namespace: FasterGames.Whiskey.Tables
Assembly: cs.temp.dll.dll
Syntax
public class DefaultRngSource : RngSource, IRng
Fields
seed
The seed to use.
Declaration
public int seed
Field Value
Type | Description |
---|---|
System.Int32 |
Methods
Range(Single, Single)
Generates a random number within a range.
Declaration
public override float Range(float minInclusive, float maxInclusive)
Parameters
Type | Name | Description |
---|---|---|
System.Single | minInclusive | min inclusive number |
System.Single | maxInclusive | max inclusive number |
Returns
Type | Description |
---|---|
System.Single | random number |