DiceSimulator ClassMathos Core Library 1.0.5.1 (changeset 39720)
This documentation is compiled for the latest release of Mathos Core Library
Inheritance Hierarchy

SystemObject
  Mathos.StatisticsDiceSimulator

Namespace: Mathos.Statistics
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Syntax

public class DiceSimulator

The DiceSimulator type exposes the following members.

Constructors

  NameDescription
Public methodDiceSimulator
Constructor that takes "nDice" as the number of dice and goes upto 6 dice
Top
Methods

  NameDescription
Public methodDiffDiceRoll
Rolls the "nDice" and then subtracts them (using sequency ABS diff)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMaxDiceRoll
Rolls the "nDice" and then finds the maximum
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRoll
Rolls the dice "nDiceIndex" indicates which if more than one, if only 1, then no parameter is required
Public methodSumDiceRoll
Rolls the "nDice" and sums them
Public methodToString (Overrides ObjectToString.)
Top
Extension Methods

  NameDescription
Public Extension MethodFrom(Enum)Overloaded.
(Defined by Converter.)
Public Extension MethodFrom(Base)Overloaded.
(Defined by Converter.)
Top
Properties

  NameDescription
Public propertyItem
Implementation of an indexer to retrieve any rolled dice at any time
Top
See Also

Reference