aboutsummaryrefslogtreecommitdiff
path: root/gameloop/include/loopManager.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-09-18 16:52:54 +0200
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-09-18 16:52:54 +0200
commit8bf919f750807060f3ac2c640b8a02300af1733c (patch)
tree7bae57855fc3b98779bdfecbea141e7ec1eed68c /gameloop/include/loopManager.h
parent61e382cedd71127033f91551298607e2e78c3809 (diff)
gameloop poc working with variable and constant update
Diffstat (limited to 'gameloop/include/loopManager.h')
-rw-r--r--gameloop/include/loopManager.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gameloop/include/loopManager.h b/gameloop/include/loopManager.h
index 5ed918d..06bcd5f 100644
--- a/gameloop/include/loopManager.h
+++ b/gameloop/include/loopManager.h
@@ -18,9 +18,8 @@ class LoopManager{
bool gameRunning = false;
WindowManager window;
int timeScale = 1;
- float lag = 0.0;
+ float accumulator = 0.0;
double currentTime;
double t = 0.0;
double dt = 0.01;
- state previous;
};