diff options
Diffstat (limited to 'src/crepe/api/Event.h')
-rw-r--r-- | src/crepe/api/Event.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/crepe/api/Event.h b/src/crepe/api/Event.h index 06cf7f3..9923a05 100644 --- a/src/crepe/api/Event.h +++ b/src/crepe/api/Event.h @@ -3,6 +3,8 @@ #include <string> +#include "../system/CollisionSystem.h" + #include "KeyCodes.h" /** @@ -93,8 +95,9 @@ public: */ class CollisionEvent : public Event { public: - //! Data describing the collision (currently not implemented). - // Collision collisionData; + crepe::CollisionSystem::CollisionInfo info; + CollisionEvent(const crepe::CollisionSystem::CollisionInfo& collisionInfo) + : info(collisionInfo) {} }; /** |