aboutsummaryrefslogtreecommitdiff
path: root/gameloop/include
diff options
context:
space:
mode:
Diffstat (limited to 'gameloop/include')
-rw-r--r--gameloop/include/gameObject.h1
-rw-r--r--gameloop/include/timer.h2
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: