Added setMaxAmount to Dice class.