Blackjack

com.amoebacode.blackjack.core
Interface ICard

All Known Implementing Classes:
Card

public interface ICard

ICard defines the standard API for a single playing card.

Version:
0.9
Author:
Jason Gurney

Method Summary
 char getSuit()
          Returns the suit of this card (C, D, H, or S).
 char getValue()
          Returns the value of this card (2, 3, 4, 5, 6, 7, 8, 9, T, J, Q, K, or A).
 

Method Detail

getValue

public char getValue()
Returns the value of this card (2, 3, 4, 5, 6, 7, 8, 9, T, J, Q, K, or A).
Returns:
a char representing the value

getSuit

public char getSuit()
Returns the suit of this card (C, D, H, or S).
Returns:
a char representing the suit

Blackjack

Copyright © 2002 amoebacode.com.