/*------------------------------------------------------------- * int Roll(): * Returns a random number between 1 and 6 * ------------------------------------------------------------*/ public int Roll() { return(rng.Random(1, 6)); }
/*------------------------------------------------------------- * int Flip(): * Returns a random number between 0 and 1 * ------------------------------------------------------------*/ public int Flip() { return(rng.Random(0, 1)); }