Show / Hide Table of Contents

Class DefaultRngSource

An rng source that uses .

Inheritance
System.Object
RngSource
DefaultRngSource
Implements
IRng
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

Overrides
RngSource.Range(Single, Single)

Implements

IRng
In This Article
Back to top Copyright FasterGames ©