Files
fall-fever/Controller.h
4VRDriver 4efc99b630 Add EBO
2020-09-01 11:48:24 +02:00

32 lines
471 B
C++

#pragma once
#include <GLFW/glfw3.h>
#include "Window.h"
#include "EventHandler.h"
#include "ShaderProgram.h"
#include "VertexBuffer.h"
#include "defines.h"
class Controller {
public:
Controller();
~Controller();
void run();
static void error_callback(int error, const char* description);
private:
void limit_framerate();
Window *gameWindow;
EventHandler *gameEventHandler;
const uint16_t MAX_FPS = 60;
double deltaTime;
};