aboutsummaryrefslogtreecommitdiff
path: root/mwe/gameloop/src/gameObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mwe/gameloop/src/gameObject.cpp')
-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) {}