#include <Card.h>
Public Types | |
enum | SuitType { CLUB = 1, DIAMOND, HEART, SPADE } |
Types of decks, standard 52-card deck is supported. | |
Public Member Functions | |
Card (int rank, enum SuitType suit) throw (error::Exception) | |
Card constructor. | |
virtual | ~Card () |
Card destructor. | |
virtual std::string | view () const =0 |
View the name of the card. | |
Protected Attributes | |
int | rank_ |
The rank of the card. Can be from 1 to 13. | |
enum SuitType | suit_ |
The suit of the card. Can be one of CLUB, DIAMOND, HEART, SPADE. |