diff options
Diffstat (limited to 'engine-ocean/Game/GameplayScreen.h')
-rw-r--r-- | engine-ocean/Game/GameplayScreen.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/engine-ocean/Game/GameplayScreen.h b/engine-ocean/Game/GameplayScreen.h new file mode 100644 index 0000000..d25d9ca --- /dev/null +++ b/engine-ocean/Game/GameplayScreen.h @@ -0,0 +1,34 @@ +#ifndef GAMEPLAYSCREEN_H +#define GAMEPLAYSCREEN_H +#include "Game/GameWorld.h" +#include "Graphics/global.h" +#include "Graphics/camera.h" +#include <GLFW/glfw3.h> +#include "screen.h" + + + +class GameplayScreen: public Screen +{ +public: + GameplayScreen(std::map<int, Input>& input_map); + + + 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; + + + + GameWorld game; +}; + +#endif // GAMEPLAYSCREEN_H |