Example #1
0
 public static ArrayList<Integer> roll(Dice... dice) {
   ArrayList<Integer> ret = new ArrayList<Integer>();
   for (Dice die : dice) {
     ret.add(die.roll());
   }
   return ret;
 }