C# Class OpenRA.Support.MersenneTwister

Mostra file Open project: pchote/OpenRA Class Usage Examples

Public Properties

Property Type Description
Last int
TotalCount int

Public Methods

Method Description
Generate ( ) : void
MersenneTwister ( ) : System
MersenneTwister ( int seed ) : System
Next ( ) : int
Next ( int high ) : int
Next ( int low, int high ) : int
NextFloat ( ) : float

Method Details

Generate() public method

public Generate ( ) : void
return void

MersenneTwister() public method

public MersenneTwister ( ) : System
return System

MersenneTwister() public method

public MersenneTwister ( int seed ) : System
seed int
return System

Next() public method

public Next ( ) : int
return int

Next() public method

public Next ( int high ) : int
high int
return int

Next() public method

public Next ( int low, int high ) : int
low int
high int
return int

NextFloat() public method

public NextFloat ( ) : float
return float

Property Details

Last public_oe property

public int Last
return int

TotalCount public_oe property

public int TotalCount
return int