C# Class GeneticMIDI.Fractal.DiceCounter

Inheritance: IDice
Mostra file Open project: stefan-j/GeneticMIDI

Public Methods

Method Description
DiceCounter ( int rangeSize, int numberOfDice, Random gen ) : System
Get ( ) : int
MaximumRollableValue ( ) : int
Roll ( ) : void

Private Methods

Method Description
Increment ( int currVal ) : int

Method Details

DiceCounter() public method

public DiceCounter ( int rangeSize, int numberOfDice, Random gen ) : System
rangeSize int
numberOfDice int
gen System.Random
return System

Get() public method

public Get ( ) : int
return int

MaximumRollableValue() public method

public MaximumRollableValue ( ) : int
return int

Roll() public method

public Roll ( ) : void
return void