diff options
Diffstat (limited to 'gameloop/include/loopManager.h')
-rw-r--r-- | gameloop/include/loopManager.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/gameloop/include/loopManager.h b/gameloop/include/loopManager.h deleted file mode 100644 index 06bcd5f..0000000 --- a/gameloop/include/loopManager.h +++ /dev/null @@ -1,25 +0,0 @@ -#pragma once -#include <SDL2/SDL.h> -#include "window.h" -#include "gameObject.h" -class LoopManager{ - public: - LoopManager(); - void setup(); - void loop(); - private: - - std::vector<GameObject*> objectList; - void processInput(); - void update(); - void lateUpdate(); - void fixedUpdate(); - void render(); - bool gameRunning = false; - WindowManager window; - int timeScale = 1; - float accumulator = 0.0; - double currentTime; - double t = 0.0; - double dt = 0.01; -}; |