-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBadDude.h
36 lines (27 loc) · 796 Bytes
/
BadDude.h
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
/*
@file BadDude.h
@author Sean Resor
@date 4/12/21
*/
#ifndef BADDUDE_H
#define BADDUDE_H
#include "Gunslinger.h"
#include "PokerPlayer.h"
#include "Person.h"
using namespace std;
class badDude : virtual public gunslinger, public pokerPlayer
{
public:
badDude();
// Constructor for BadDude class
badDude(const char* firstName, const char* lastName, double draw, int notches);
// Function to return the Gunslinger class's Draw() function
double Gdraw();
// Function to return the PokerPlayer class's Draw() function
int Cdraw();
// Function to print the first and last names, the draw speed, and the number of notches
void Show();
// Operator overload for the assignment operator
badDude& operator=(badDude const& x);
};
#endif