/**
 * Class that models a pair of 6-sided dice.
 * 
 * @author Dave Reed
 * @version 9/14/15
 */
public class PairOfDice {
    private Die die1;
    private Die die2;

    /**
     * Constructs a PairOfDice object.
     */
    public PairOfDice() {
        this.die1 = new Die();
        this.die2 = new Die();
    }
    
   /**
     * Returns number of rolls so far.
     *   @return the number of times the pair of dice has been rolled
     */
    public int getNumRolls() {
        return this.die1.getNumRolls();
    }
    
   /**
    * Conducts a roll of the dice pair.
    *   @return a String representing the rolled dice, e.g., "3-4"
    */
   public String roll() {
       return this.die1.roll() + "-" + this.die2.roll();
   }
}