/*******************************************************************
 Name: Trevor Spalt
 Date: March 12, 2007
 Section: 2
 Lab: PA2
/*******************************************************************
 * This enum class simply makes a enum type for each of the four suits.
 * This allows the deck method to use these four different types 
 * efficiently
 */
    public enum Rank
   {
      TWO(0),                   
      THREE(0),                           
      FOUR(0),
      FIVE(0),                       
      SIX(0),
      SEVEN(0),
      EIGHT(0),
      NINE(0),
      TEN(0),
      JACK(1),
      QUEEN(2),
      KING(3),
      ACE(4);

      private final int points; 
   	
		/*******************************************************************
		* The constructor puts the point value of the rank into the variable
		* assigned for it
		*
		* @param points - the point value of the rank
 		*******************************************************************/
      Rank(int points) 
      { 
     		this.points = points;
      } // end Rank
   	
		/*******************************************************************
		* The method returns the point value of a rank.
		*
		* @return points - the point value of the rank
 		*******************************************************************/
      public int getPoints()
      {
         return points;
      } //  end getPoints
   }// end Class