Files
fall-fever/Controller.h
2020-08-31 19:08:05 +02:00

30 lines
398 B
C++

#pragma once
#include <GLFW/glfw3.h>
#include "Window.h"
#include "EventHandler.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;
};