diff options
Diffstat (limited to 'mwe/events/include/event.h')
-rw-r--r-- | mwe/events/include/event.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mwe/events/include/event.h b/mwe/events/include/event.h index 802140c..d060faa 100644 --- a/mwe/events/include/event.h +++ b/mwe/events/include/event.h @@ -5,6 +5,7 @@ #include <unordered_map> #include <variant> #include "keyCodes.h" +#include "customTypes.h" class UUIDGenerator { public: @@ -85,3 +86,15 @@ private: int mouseX = 0; int mouseY = 0; }; +class CollisionEvent : public Event { +public: + CollisionEvent(Collision); + + REGISTER_EVENT_TYPE(CollisionEvent) + + Collision getCollisionData() const; + +private: + Collision collisionData; + +}; |