-
Notifications
You must be signed in to change notification settings - Fork 2
/
inGameMenu.h
56 lines (47 loc) · 975 Bytes
/
inGameMenu.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
#pragma once
#include "inventory_images.h"
#include "inventory.h"
#include "equipMent.h"
#include "construction.h"
#include "purchase_land.h"
#include "gamesetting.h"
enum INVENKINDS
{
INVENTORY, //인벤토리
EQUIP, //장비
CONSTRUCTION, //건설
PURCHASE_LAND, //토지구매
GAME_SETTING //게임설정
};
struct MOUSEMENU
{
RECT rc;
INVENKINDS kinds;
};
class inGameMenu
{
private:
vector<MOUSEMENU*> ingameMenuRc;
INVENKINDS _inven_Kind; //인벤 종류
inventory_images *inven_imgs; //인벤 이미지
inventory *_inven;
equipMent *_equip;
construction *_construction;
purchase_land *_purchaese;
gamesetting *_game_setting;
public:
HRESULT init();
void release();
void update();
void render(HDC hdc);
void inven_Change_Key_Down();
void mouse_touch_icon(HDC hdc);
void settion();
public:
inventory* GetInven() { return _inven; };
public:
void setMapLink(earth* map) {
_construction->setMapLink(map);
_purchaese->setMapLink(map);
};
};