C# Class Myre.StaticRandom

Generates random numbers
Datei anzeigen Open project: martindevans/Myre

Public Methods

Method Description
Random ( uint upperBound = uint.MaxValue ) : uint

Creates a random number, using the time as a seed

Random ( uint seed, uint upperBound ) : uint

Creates a random number from the specified seed

Method Details

Random() public static method

Creates a random number, using the time as a seed
public static Random ( uint upperBound = uint.MaxValue ) : uint
upperBound uint The maximum value (exclusive)
return uint

Random() public static method

Creates a random number from the specified seed
public static Random ( uint seed, uint upperBound ) : uint
seed uint The seed value
upperBound uint The maximum value (exclusive)
return uint