// You need to import Die and declare two objects of it private Die die1, die2; private int value1, value2, total; // Creates two six-sided Die objects, both with an initial face value of one. // using constructor die1 = new Die(); die2 = new Die(); value1 = 1; value2 = 1; total = value1 + value2; // Rolls both dice and returns the combined result. // by defining the roll method that return an integer value1 = die1.roll(); value2 = die2.roll(); total = value1 + value2; return total; // Returns the current combined dice total by a method getTotal. // Returns the current value of the first die. public int getDie1 () { return value1; } // Returns the current value of the second die.