diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-11-03 11:23:54 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-11-03 11:23:54 +0100 |
commit | 75cf0b8e72aff7072c25ab015ce5c9c64eb3ecc5 (patch) | |
tree | dd459130f169a924db0637146d31ed20aaa10d74 /mwe/events/src/event.cpp | |
parent | ed8534e2d150428bcbc4a6df8940323ae8db2925 (diff) | |
parent | 6aa8fdd04728b6a499f526de727514ae3d0490b4 (diff) |
Merge branch 'master' of https://github.com/lonkaars/crepe into wouter/events-poc
Diffstat (limited to 'mwe/events/src/event.cpp')
-rw-r--r-- | mwe/events/src/event.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/mwe/events/src/event.cpp b/mwe/events/src/event.cpp index 0a7454d..eae4d14 100644 --- a/mwe/events/src/event.cpp +++ b/mwe/events/src/event.cpp @@ -44,12 +44,10 @@ std::pair<int, int> MousePressedEvent::getMousePosition() const { } //Collision event -CollisionEvent::CollisionEvent(Collision collision) : collisionData(collision), Event("CollisionEvent") { +CollisionEvent::CollisionEvent(Collision collision) + : collisionData(collision), Event("CollisionEvent") {} -} - -Collision CollisionEvent::getCollisionData() const -{ +Collision CollisionEvent::getCollisionData() const { return this->collisionData; } |