-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathHand.h
More file actions
52 lines (46 loc) · 1021 Bytes
/
Hand.h
File metadata and controls
52 lines (46 loc) · 1021 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//******************************************************************************
//
// File Name: Hand.h
//
// File Overview: Represents a Hand containing five cards
//******************************************************************************
#ifndef Hand_h
#define Hand_h
#include <algorithm>
#include <map>
#include <vector>
#include "Card.h"
//******************************************************************************
//
// Class: Hand
//
// Notes : None
//
//******************************************************************************
class Hand
{
public:
int type;
int suit;
int quad;
int trip;
int doub;
int conn;
int high;
Card first;
Card second;
Card third;
Card fourth;
Card fifth;
Hand(Card card0, Card card1, Card card2, Card card3, Card card4);
int getSuit();
int getQuad();
int getTrip();
int getDoub();
int getConn();
int getHigh();
void printType();
void printHand();
int getType();
};
#endif // Hand_h