diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-09-26 10:38:45 +0200 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-09-26 10:38:45 +0200 |
commit | 86a7bd1aee2ee96079e00e2696a624fd6b642fa0 (patch) | |
tree | 058e11d246cdb25657e03f6b431a5c254b2a3438 /gameloop/include | |
parent | 8bf919f750807060f3ac2c640b8a02300af1733c (diff) |
update
Diffstat (limited to 'gameloop/include')
-rw-r--r-- | gameloop/include/gameObject.h | 1 | ||||
-rw-r--r-- | gameloop/include/timer.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/gameloop/include/gameObject.h b/gameloop/include/gameObject.h index 0e17991..fc7d026 100644 --- a/gameloop/include/gameObject.h +++ b/gameloop/include/gameObject.h @@ -18,6 +18,7 @@ class GameObject { void setHeight(float value); void setVelX(float value); void setVelY(float value); + int direction; private: std::string name = ""; float x = 0; diff --git a/gameloop/include/timer.h b/gameloop/include/timer.h index a245e5c..ca1e5f3 100644 --- a/gameloop/include/timer.h +++ b/gameloop/include/timer.h @@ -13,6 +13,8 @@ public: double getFixedDeltaTime() const; void setFPS(int FPS); int getFPS() const; + double getGameScale(); + void setGameScale(double); void enforceFrameRate(); double getLag() const; private: |