blob: 77ecd2c0d936868fa6e8d4abba627061d0052200 (
plain)
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
|
#ifndef MENUSCREEN_H
#define MENUSCREEN_H
#include "Game/GameWorld.h"
#include "screen.h"
#include <map>
class MenuScreen: public Screen
{
public:
MenuScreen(std::map<int, Input>& input_map);
~MenuScreen();
void update(double deltaTime) override;
void draw() override;
void keyEvent(int key, int action) override;
void mousePosEvent(double xpos, double ypos) override;
void mouseButtonEvent(int button, int action) override;
void scrollEvent(double distance) override;
void windowResizeEvent(int width, int height) override;
void framebufferResizeEvent(int width, int height) override;
private:
std::map<int, Input>& m_input_map;
};
#endif // MENUSCREEN_H
|