C# Class MingStar.SimUniversity.Game.Random.DiceCardRandomEvent

Uses 36 dice cards to simulate the dice rolls, to ensure the distribution is always even.
Inheritance: IRandomEvent
ファイルを表示 Open project: MingStar/SimUniversity Class Usage Examples

Public Methods

Method Description
GetNextDiceTotal ( ) : int
IsNextStartUpSuccessful ( ) : bool

Private Methods

Method Description
GenerateDiceCards ( ) : IEnumerable

Method Details

GetNextDiceTotal() public method

public GetNextDiceTotal ( ) : int
return int

IsNextStartUpSuccessful() public method

public IsNextStartUpSuccessful ( ) : bool
return bool