Create OpenGL context
This commit is contained in:
15
EventHandler.h
Normal file
15
EventHandler.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include <GLFW/glfw3.h>
|
||||
|
||||
class EventHandler {
|
||||
|
||||
public:
|
||||
|
||||
void handleEvents(GLFWwindow *window);
|
||||
bool gameShouldTerminate;
|
||||
|
||||
private:
|
||||
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user