aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Event.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/Event.h')
-rw-r--r--src/crepe/api/Event.h6
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: