Interface IRandomGenerator<T>
Methods
Optional
advance
- advance(): IRandomGenerator<T>
-
clone
- clone(requiresSynchronization?: boolean, initialState?: T): IRandomGenerator<T>
-
Parameters
-
Optional
requiresSynchronization: boolean
-
Optional
initialState: T
get
- get(): number
-
Returns number
getSeed
- getSeed(): T
-
Returns T
popSeed
- popSeed(): T
-
Returns T
pushSeed
- pushSeed(seed?: T): void
-
Returns void