D G R

D

DEFAULT_NUM_SIDES - Static variable in class RollingDie
 

G

getFace() - Method in class RollingDie
returns the face currently showing on this die; does not roll die.
getIcon() - Method in class RollingDie
returns an image of the face currently showing on this die.

R

roll() - Method in class RollingDie
pseudorandomly assigns a face value between 1 and the number of sides; returns the resulting face value.
RollingDie - Class in <Unnamed>
RollingDie class Instantiable class whose instances model playing dice; rolling a die results in a pseudorandom int between 1 and the number of sides being assigned as the face value; RollingDie instances have 6 sides by default; a different number of sides may also be specified.
RollingDie(int) - Constructor for class RollingDie
constructs a die with a specified number of sides.
RollingDie() - Constructor for class RollingDie
default constructor, constructs a 6-sided die.

D G R