-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathUpgradeMenu.h
More file actions
37 lines (31 loc) · 1.13 KB
/
UpgradeMenu.h
File metadata and controls
37 lines (31 loc) · 1.13 KB
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
#ifndef __UPGRADEMENU_H__
#define __UPGRADEMENU_H__
class Button;
#include "ButtonManager.h"
#include <allegro5/allegro.h>
#include <allegro5/allegro_font.h>
class UpgradeMenu
{
private:
ALLEGRO_BITMAP *upgradeMenu;
ALLEGRO_FONT *font;
ButtonManager buttonManager;
void Init(ALLEGRO_BITMAP *buffer);
public:
UpgradeMenu(ALLEGRO_BITMAP *buffer);
~UpgradeMenu();
void Draw(ALLEGRO_BITMAP *screen);
ButtonManager &GetButtonManager();
static void Health(Button* object, void* data);
static void FireRate(Button* object, void* data);
static void ClipSize(Button* object, void* data);
static void Range(Button* object, void* data);
static void Nuke(Button* object, void* data);
static void WideShot(Button* object, void* data);
static void ExplodingShot(Button* object, void* data);
static void WallBreaker(Button* object, void* data);
static void Mine(Button* object, void* data);
static void Grenade(Button* object, void* data);
static void Resume(Button* object, void* data);
};
#endif