C# Class DodongosQuest.RandomNumberProvider

Datei anzeigen Open project: faintpixel/Roguelike

Public Methods

Method Description
CheckIfChanceOccurs ( int percentChance ) : bool
GetRandomNumber ( int minimumValue, int maximumValue ) : int
RandomBetween ( float min, float max ) : float

Method Details

CheckIfChanceOccurs() public static method

public static CheckIfChanceOccurs ( int percentChance ) : bool
percentChance int
return bool

GetRandomNumber() public static method

public static GetRandomNumber ( int minimumValue, int maximumValue ) : int
minimumValue int
maximumValue int
return int

RandomBetween() public static method

public static RandomBetween ( float min, float max ) : float
min float
max float
return float