diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-03 08:18:07 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-03 08:18:07 +0200 |
commit | da80fd4f163ad403da122fc950847c85c3236a32 (patch) | |
tree | 2d3bd8f08fb44d6de294f0a9c90d5ca11d3ec188 /mwe/gameloop/include | |
parent | 90174919ba8c019d4b88915557be0adc3769b3e6 (diff) | |
parent | f8b2f9f3a2557313d37d53042dd36f0063f2ee61 (diff) |
Merge branch 'master' of pipeframe.xyz:school/project-spc
Diffstat (limited to 'mwe/gameloop/include')
-rw-r--r-- | mwe/gameloop/include/gameObject.h | 1 | ||||
-rw-r--r-- | mwe/gameloop/include/timer.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/mwe/gameloop/include/gameObject.h b/mwe/gameloop/include/gameObject.h index 69f4d52..abdc9b0 100644 --- a/mwe/gameloop/include/gameObject.h +++ b/mwe/gameloop/include/gameObject.h @@ -19,6 +19,7 @@ public: void setHeight(float value); void setVelX(float value); void setVelY(float value); + int direction; private: std::string name = ""; diff --git a/mwe/gameloop/include/timer.h b/mwe/gameloop/include/timer.h index 22383b2..8273746 100644 --- a/mwe/gameloop/include/timer.h +++ b/mwe/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; |