/*
	For: Poker
	
	Created by Travis Roe
*/

public class Card{

	//private variables, storing important things about each, unique Card
	private char value;
	private char suit;
	
	/*
		Static variables for use in other functions.
		
		SUITS 	is a String of all the suits in a standard deck of cards
		
		VALUES 	is a String with the characters in order of least important
					to most important (by Poker rules)
	*/
	public static final String SUITS = "SHDC";
	public static final String VALUES = "23456789JQKA";
	
	public Card(char value, char suit){
		this.value = value;
		this.suit = suit;
	}
	
	public String toString(){
		//the empty string ("") is there to tell Java to return a String
		return "" + value + suit;
	}
	
	/*
		The standard "getters", as they're called. These methods return the
		values of the two private variables of this class: value and suit.
		As a reminder, because value and suit are primitives, changing the
		value of these returned values doesn't affect the value the instance
		of the class.
	*/
	public char getValue(){
		return value;
	}
	
	public char getSuit(){
		return suit;
	}
	
}