diff options
Diffstat (limited to 'src/crepe/api')
-rw-r--r-- | src/crepe/api/Event.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/crepe/api/Event.h b/src/crepe/api/Event.h index 701ecdf..3431f29 100644 --- a/src/crepe/api/Event.h +++ b/src/crepe/api/Event.h @@ -3,6 +3,7 @@ #include <iostream> #include <string> #include <typeindex> +#include "system/CollisionSystem.h" class Event { public: @@ -45,7 +46,10 @@ public: }; class CollisionEvent : public Event { public: - //Collision collisionData; + crepe::CollisionSystem::CollisionInfo info; + CollisionEvent(const crepe::CollisionSystem::CollisionInfo& collisionInfo) + : info(collisionInfo) {} + }; class TextSubmitEvent : public Event { public: |