import java.io.*;
import java.util.*;

/**********************************************************************
* This enum describes a card's Rank and the points it is worth.
*
* @author Jonathan Herman
* @version 1
**********************************************************************/
// Elizabeth Adams
// Date: 3/06/07
// PA 2
// Section: 2

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;
	
	/**
	* This constructor creates a Rank and assigns a given value to points.
	*
	* @param points The point value of the Rank.
	*/	
	private Rank (int points)
	{
		this.points = points;
	}
	
	/**
	* This method returns the point value of a Rank.
	*
	* @return The point value of a Rank.
	*/
	public int getPoints()
	{
		return points;
	}
	
} // end Rank enum