-
Notifications
You must be signed in to change notification settings - Fork 0
/
player.cpp
53 lines (43 loc) · 620 Bytes
/
player.cpp
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
#include "player.h"
int Player::getType() const
{
return type;
}
void Player::setType(int value)
{
type = value;
}
int Player::getDepth() const
{
return depth;
}
void Player::setDepth(int value)
{
depth = value;
}
int Player::getAlg() const
{
return alg;
}
void Player::setAlg(int value)
{
alg = value;
}
int Player::getColor() const
{
return color;
}
void Player::setColor(int value)
{
color = value;
}
Player::Player()
{
}
Player::Player(int type, int alg, int depth,int color)
{
this->type = type;
this->alg = alg;
this->depth = depth;
this->color = color;
}