C# Class Dices.Dice

Show file Open project: Kursledare/Mookieraw Class Usage Examples

Public Methods

Method Description
Dice ( int sides, int numofdice = 1 ) : System
Roll ( ) : int
Roll ( int flatbonus ) : int

Method Details

Dice() public method

public Dice ( int sides, int numofdice = 1 ) : System
sides int
numofdice int
return System

Roll() public method

public Roll ( ) : int
return int

Roll() public method

public Roll ( int flatbonus ) : int
flatbonus int
return int