C# Class DodongosQuest.RandomNumberProvider

Afficher le fichier Open project: faintpixel/Roguelike

Méthodes publiques

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

Method Details

CheckIfChanceOccurs() public static méthode

public static CheckIfChanceOccurs ( int percentChance ) : bool
percentChance int
Résultat bool

GetRandomNumber() public static méthode

public static GetRandomNumber ( int minimumValue, int maximumValue ) : int
minimumValue int
maximumValue int
Résultat int

RandomBetween() public static méthode

public static RandomBetween ( float min, float max ) : float
min float
max float
Résultat float