This class is a container that holds dice. The class has methods for getting and setting the number of dice and the colors and probabilities for all of the dice. The class also has methods for "rolling" the dice and for computing the sum of the scores and the count for each score. An individual die can be obtained so that the properties of the dice can be set or returned individually. This object is used, for example, in the dice experiment
The text area below gives the code for this object, so that you can browse the constructors, methods, and properties of the object. Of course, this source file is part of devices.zip, which contains all source and resource files for the objects in the devices package.