-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChessModel.h
58 lines (58 loc) · 1.02 KB
/
ChessModel.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
#pragma once
class ChessModel
{
private:
//必胜五
int five;
//活四数量
int liveFour;
//冲四数量
int four;
//活三数量
int liveThree;
//冲三数量
int three;
//活二数量
int liveTwo;
//冲二数量
int two;
//活一数量
int liveOne;
//冲一数量
int one;
//长连数量
int longConnection;
public:
ChessModel();
~ChessModel();
int getFive();
int getLiveThree();
int getThree();
int getLiveFour();
int getFour();
int getLiveTwo();
int getTwo();
int getLiveOne();
int getOne();
int getLongConnection();
void setFive(int num);
void setLiveThree(int num);
void setThree(int num);
void setLiveFour(int num);
void setFour(int num);
void setLiveTwo(int num);
void setTwo(int num);
void setLiveOne(int num);
void setOne(int num);
void setLongConnection(int num);
void addFive(int num);
void addLiveThree(int num);
void addThree(int num);
void addLiveFour(int num);
void addFour(int num);
void addLiveTwo(int num);
void addTwo(int num);
void addLiveOne(int num);
void addOne(int num);
void addLongConnection(int num);
};