/**
 * @author Yoshihiro Fujio
 * CS239 section 2
 * PA2
 * V1 date 2007/03/11
**/
/*****************************************************************
 * Rank.java
 *
 * Represents the available value of cards and their points 
 ***************************************************************/
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 int points; // points of card
	
   /**********************************************************
    * Create a new Rank values with the given attributes.
    *
	 * @param points 	The points of card
	 **********************************************************/
   private Rank (int points)
   {  
		this.points = points;
   } // end Rank
	
   /******************************************************
    * Returns the points of card
    * @return points of card
    ******************************************************/
   public int getPoints()
   {	
      return points;
   } // end getPoints
		
} // end enum

