aboutsummaryrefslogtreecommitdiff
path: root/mwe/events/src/event.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-25 21:21:27 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-25 21:21:27 +0200
commit7d8af5f56f9359fff792470fbb55154268b36458 (patch)
tree139729ca86274eeb7b64d55bce7cd0194ace3286 /mwe/events/src/event.cpp
parentf1b2c5a38f49bb319babf11bf64c420a63e104f2 (diff)
`make format`
Diffstat (limited to 'mwe/events/src/event.cpp')
-rw-r--r--mwe/events/src/event.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/mwe/events/src/event.cpp b/mwe/events/src/event.cpp
index 38ff62a..c9201d0 100644
--- a/mwe/events/src/event.cpp
+++ b/mwe/events/src/event.cpp
@@ -44,11 +44,9 @@ 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;
}