aboutsummaryrefslogtreecommitdiff
path: root/mwe/gameloop/src
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-11-13 19:05:25 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-11-13 19:05:25 +0100
commit0b2ca3c323c7f73d031e7014ba0a17dcf0b59751 (patch)
tree8a3ebeee7e2aab9ba064c62fce0cd33def6f2d18 /mwe/gameloop/src
parent1d4b3a44c9ce1e69f4f0e3909998225f8af3fea2 (diff)
parentf2509e89c02894ebd3ad992324eb300103621d26 (diff)
merge with master
Diffstat (limited to 'mwe/gameloop/src')
-rw-r--r--mwe/gameloop/src/gameObject.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/mwe/gameloop/src/gameObject.cpp b/mwe/gameloop/src/gameObject.cpp
index 78217c4..b33dc78 100644
--- a/mwe/gameloop/src/gameObject.cpp
+++ b/mwe/gameloop/src/gameObject.cpp
@@ -26,5 +26,10 @@ void GameObject::setVelY(float value) { velY = value; }
GameObject::GameObject(std::string name, float x, float y, float width,
float height, float velX, float velY)
- : name(name), x(x), y(y), width(width), height(height), velX(velX),
+ : name(name),
+ x(x),
+ y(y),
+ width(width),
+ height(height),
+ velX(velX),
velY(velY) {}