Files
fall-fever/EventHandler.h
2020-09-01 22:36:50 +02:00

22 lines
333 B
C++

#pragma once
#include <GLFW/glfw3.h>
class EventHandler {
public:
EventHandler(GLFWwindow *p_window);
~EventHandler() = default;
void handleEvents();
private:
static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods);
GLFWwindow *window;
static bool wireFrameMode;
};