Files Classes Functions Hierarchy
#include <deck.h>
Public Member Functions | |
| virtual | ~deck () |
| Cleanup. | |
| virtual uintc | draw ()=0 |
| Draw a card from the deck. | |
The client derives this class.
Shuffling and other issues are hidden. The cards are represented by integers. However you can abstract. For example if suit is not important then 2 could represent a 2 of spades, clubs, hearts or diamonds.
Definition at line 18 of file deck.h.
| virtual uintc deck::draw | ( | ) | [pure virtual] |
Draw a card from the deck.
Implemented in deckpontoon.
Referenced by playerGame::alive_play(), playerGame::notalive_dealCards(), and dealer::play().
1.5.8