C# Class RogueSharp.RandomNumberGenerator

Inheritance: IRandomNumberGenerator
显示文件 Open project: jdiamond/rogue-sharp

Public Methods

Method Description
Next ( string key, int range ) : int
RandomNumberGenerator ( ) : System
RandomNumberGenerator ( int seed ) : System

Private Methods

Method Description
RN ( ) : int
rnd ( int range ) : int

Method Details

Next() public method

public Next ( string key, int range ) : int
key string
range int
return int

RandomNumberGenerator() public method

public RandomNumberGenerator ( ) : System
return System

RandomNumberGenerator() public method

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