diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-12 18:30:06 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-12 18:30:06 +0100 |
commit | 63f99aa1971095f1cb475e29bc2fa9ed7fb8e0f1 (patch) | |
tree | 563eeccbcc41558dd085a0c423ed433d54111008 /mwe/gameloop/src/gameObject.cpp | |
parent | 3c9b331668189e9c1a35d3d6ac6ded601f725e78 (diff) | |
parent | d9130d78738b6cb1bdc4e7ec65362b0ef46b1035 (diff) |
Merge branch 'master' into niels/cleanup
Diffstat (limited to 'mwe/gameloop/src/gameObject.cpp')
-rw-r--r-- | mwe/gameloop/src/gameObject.cpp | 7 |
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) {} |