-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPlayer.h
67 lines (55 loc) · 1.27 KB
/
Player.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#ifndef PLAYER_H_INCLUDED
#define PLAYER_H_INCLUDED
#include <iostream>
#include <ctime>
#include <string>
#include <cstdio>
#include <cstdlib>
using namespace std;
enum genderOption {male, female};
class Player{
string name;
genderOption gender;
int age;
string job;
int wins;
int votes;
float technique;
float fatigue;
float popularity;
bool candidate;
bool immunity;
public:
Player();
Player(string n, genderOption g, int a);
~Player();
string getName();
genderOption getGender();
int getAge();
string getJob();
int getWins();
int getVotes();
float getTechnique();
float getFatigue();
float getPopularity();
bool getCandidate();
bool getImmunity();
void setName(string val);
void setGender(genderOption val);
void setJob(string val);
void setAge(int val);
void setWins(int val);
void setVotes(int val);
void setTechnique(float val);
void setFatigue(float val);
void setPopularity(float val);
void setCandidate(bool val);
void setImmunity(bool val);
void work();
void sleep();
void socialize();
void practice();
void compete();
void status();
};
#endif // PLAYER_H_INCLUDED