-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathGameProps.h
38 lines (33 loc) · 869 Bytes
/
GameProps.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
#ifndef CGAMEPROPS_H_
#define CGAMEPROPS_H_
#include "Sys.h"
#include "GameMap.h"
enum PropType { noprop = 10, energybubble, energywater, rollerskate, redhead, powerball };
class CGameProps
{
public:
CGameProps();
~CGameProps();
public:
HBITMAP m_bitmap_energybubble;
HBITMAP m_bitmap_energywater;
HBITMAP m_bitmap_rollerskate;
HBITMAP m_bitmap_redhead;
HBITMAP m_bitmap_powerball;
int m_nShowID;
int m_bj[MAP_WIDTH][MAP_HEIGHT];
int energybubblewpos[EBNUMBER];
int energybubblehpos[EBNUMBER];
int energywaterwpos[EWNUMBER];
int energywaterhpos[EWNUMBER];
int rollerskatewpos[RSNUMBER];
int rollerskatehpos[RSNUMBER];
int edheadwpos[RHNUMBER];
int edheadhpos[RHNUMBER];
int powerballwpos[PBNUMBER];
int powerballhpos[PBNUMBER];
public:
void PropInit(HINSTANCE hIns, CGameMap& map);
void PropPositionShow(HDC hdc);
};
#endif // !CGAMEPROPS_H_