/*******************************************************************
 Name: Trevor Spalt
 Date: March 12, 2007
 Section: 2
 Lab: PA2
/*******************************************************************
 * This class is going to 
 */
   public class player
   {
		private String name;
		private BridgeHand hand;
		
		/*******************************************************************
		* The constructor fills initializes both the player's name and the
		* hand of the player
		*
		* @param name - the player's name
		* @param hand - the 13 card hand of the player
 		*******************************************************************/
		public player(String name, BridgeHand hand1)
		{
			this.name = name;
			hand = hand1;
		}
		
		/*******************************************************************
		* This method returns the name of the player
		*
		* @return name - the player's name
 		*******************************************************************/
		public String getName()
		{
			return name;
		}
		
		/*******************************************************************
		* This method returns the hand of the player
		*
		* @return hand - the player's hand
 		*******************************************************************/
		public BridgeHand getHand()
		{
			return hand;
		}
		
		/*******************************************************************
		* This method returns the name of the player and the hand that they
		* have.
		*
		* @return the name and hand of the player.
 		*******************************************************************/
		public String toString()
		{
			return name + "'s Bridge Hand \n" + 
					 "--------------------------------\n"
					 + hand + 
					 "\n--------------------------------";
		}
   }// end Suit