#ifndef MENU_H
#define MENU_H
#define MENU_IN 0
#define MENU_OUT 1
#define MENU_UP 2
#define MENU_DOWN 3
#define MENU_LEFT 4
#define MENU_RIGHT 5
#define MENU_DRAW 6
#define PAGE_MAIN 0
#define PAGE_OPTIONS 1
#define PAGE_EDITOR 2
#define PAGE_CREDITS 3
#define PAGE_CONSOLE 4
class Menu
{
Editor *editor;
int active_page;
void push_menu_matrix();
void pop_menu_matrix();
void start_race();
int page_main(int action);
int page_console(int action);
int page_editor(int action);
public:
Menu();
bool is_open;
void mouse_check();
int send_action(int action);
void draw();
};
#endif