-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathheaders.h
58 lines (51 loc) · 791 Bytes
/
headers.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
#include "graphics.h"
class Score
{
private:
bool render();
bool isshow = true;
bool isrun = true;
public:
bool update();
void add_score(double x, double y, int score, bool type = false);
};
extern Score score;
class Coins
{
private:
bool render();
bool isshow = true;
bool isrun = true;
int animation_time;
const int costumes_num = 4;
int now_costume;
PIMAGE costumes[4];
public:
bool update();
Coins();
};
extern Coins coins;
class World_name
{
private:
bool render();
bool isshow = true;
bool isrun = true;
public:
bool update();
};
extern World_name world_name;
class Timer
{
private:
bool render();
bool isshow = true;
bool isrun = true;
bool count_down = false;
public:
int end_show_time;
bool update();
};
extern Timer timer;