-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstart_interface.h
116 lines (110 loc) · 4.35 KB
/
start_interface.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
#ifndef STARTINTERFACE_H
#define STARTINTERFACE_H
#include<iostream>
#include<vector>
#include"boundary.h"
class StartInterface
{
public:
StartInterface(): interval_(50)
{
//以下均为初始化,开始界面2048的位置
start_hyphen.emplace_back(2, -23); //2
start_hyphen.emplace_back(2, -22);
start_hyphen.emplace_back(2, -21);
start_hyphen.emplace_back(2, -20);
start_plus.emplace_back(2, -19);
start_vertical.emplace_back(3, -19);
start_vertical.emplace_back(4, -19);
start_vertical.emplace_back(5, -19);
start_plus.emplace_back(6, -19);
start_hyphen.emplace_back(6, -20);
start_hyphen.emplace_back(6, -21);
start_hyphen.emplace_back(6, -22);
start_plus.emplace_back(6, -23);
start_vertical.emplace_back(7, -23);
start_vertical.emplace_back(8, -23);
start_vertical.emplace_back(9, -23);
start_plus.emplace_back(10, -23);
start_hyphen.emplace_back(10, -22);
start_hyphen.emplace_back(10, -21);
start_hyphen.emplace_back(10, -20);
start_hyphen.emplace_back(10, -19);
start_plus.emplace_back(2, -17); //0
start_hyphen.emplace_back(2, -16);
start_hyphen.emplace_back(2, -15);
start_hyphen.emplace_back(2, -14);
start_plus.emplace_back(2, -13);
start_vertical.emplace_back(3, -13);
start_vertical.emplace_back(4, -13);
start_vertical.emplace_back(5, -13);
start_vertical.emplace_back(6, -13);
start_vertical.emplace_back(7, -13);
start_vertical.emplace_back(8, -13);
start_vertical.emplace_back(9, -13);
start_plus.emplace_back(10, -13);
start_hyphen.emplace_back(10, -14);
start_hyphen.emplace_back(10, -15);
start_hyphen.emplace_back(10, -16);
start_plus.emplace_back(10, -17);
start_vertical.emplace_back(9, -17);
start_vertical.emplace_back(8, -17);
start_vertical.emplace_back(7, -17);
start_vertical.emplace_back(6, -17);
start_vertical.emplace_back(5, -17);
start_vertical.emplace_back(4, -17);
start_vertical.emplace_back(3, -17);
start_vertical.emplace_back(2, -11); //4
start_vertical.emplace_back(3, -11);
start_vertical.emplace_back(4, -11);
start_vertical.emplace_back(5, -11);
start_plus.emplace_back(6, -11);
start_hyphen.emplace_back(6, -10);
start_hyphen.emplace_back(6, -9);
start_hyphen.emplace_back(6, -8);
start_vertical.emplace_back(2, -7);
start_vertical.emplace_back(3, -7);
start_vertical.emplace_back(4, -7);
start_vertical.emplace_back(5, -7);
start_plus.emplace_back(6, -7);
start_vertical.emplace_back(7, -7);
start_vertical.emplace_back(8, -7);
start_vertical.emplace_back(9, -7);
start_vertical.emplace_back(10, -7);
start_plus.emplace_back(2, -5); //8
start_hyphen.emplace_back(2, -4);
start_hyphen.emplace_back(2, -3);
start_hyphen.emplace_back(2, -2);
start_plus.emplace_back(2, -1);
start_vertical.emplace_back(3, -1);
start_vertical.emplace_back(4, -1);
start_vertical.emplace_back(5, -1);
start_plus.emplace_back(6, -1);
start_vertical.emplace_back(7, -1);
start_vertical.emplace_back(8, -1);
start_vertical.emplace_back(9, -1);
start_plus.emplace_back(6, -5);
start_hyphen.emplace_back(10, -2);
start_hyphen.emplace_back(10, -3);
start_hyphen.emplace_back(10, -4);
start_plus.emplace_back(10, -5);
start_vertical.emplace_back(9, -5);
start_vertical.emplace_back(8, -5);
start_vertical.emplace_back(7, -5);
start_plus.emplace_back(10, -1);
start_vertical.emplace_back(5, -5);
start_vertical.emplace_back(4, -5);
start_vertical.emplace_back(3, -5);
start_hyphen.emplace_back(6, -4);
start_hyphen.emplace_back(6, -3);
start_hyphen.emplace_back(6, -2);
}
//输出界面
void Print();
private:
std::vector<Boundary> start_hyphen;
std::vector<Boundary> start_vertical;
std::vector<Boundary> start_plus;
int interval_; //时间间隔
};
#endif // STARTINTERFACE_H