Blackjack Program  Iteration 2
Core Exercise HIT3172
 All Classes Functions Variables Enumerations Enumerator
blackjackhand.h
1 /*
2  * blackjackhand.h
3  *
4  * Created on: 21/08/2012
5  * Author: Adam Malcontenti-Wilson
6  */
7 
8 #ifndef BLACKJACKHAND_H_
9 #define BLACKJACKHAND_H_
10 
11 #define MAX_CARDS_IN_HAND 5
12 
13 #include <string>
14 #include "card.h"
15 #include "cardhand.h"
16 
17 class blackjack_hand : public card_hand{
18 private:
19  virtual bool needs_evaluate();
20  virtual void evaluate();
21 
22 public:
24 
25  std::string str();
26 
27  bool is_full();
28  bool is_blackjack();
29  bool is_busted();
30 };
31 
32 #endif /* BLACKJACKHAND_H_ */