diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-22 13:31:15 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-22 13:31:15 +0100 |
commit | c0f0cc3d95eed2b24d19a157933c2a0ff5d2d4c2 (patch) | |
tree | fecc238a33a5e0cc663bef7bb93ddea694c50cb0 /src/crepe/api/Event.h | |
parent | 07bca38a27f794ed6a2f74536f7a909530ce7df0 (diff) | |
parent | 25054cca2a8d06d1ceb60451db8dc383bc629eb8 (diff) |
Merge branch 'loek/scripts'
Diffstat (limited to 'src/crepe/api/Event.h')
-rw-r--r-- | src/crepe/api/Event.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/crepe/api/Event.h b/src/crepe/api/Event.h index 06cf7f3..b267e3e 100644 --- a/src/crepe/api/Event.h +++ b/src/crepe/api/Event.h @@ -1,10 +1,12 @@ -// TODO discussing the location of these events #pragma once +// TODO discussing the location of these events #include <string> #include "KeyCodes.h" +namespace crepe { + /** * \brief Base class for all event types in the system. */ @@ -91,11 +93,7 @@ public: /** * \brief Event triggered during a collision between objects. */ -class CollisionEvent : public Event { -public: - //! Data describing the collision (currently not implemented). - // Collision collisionData; -}; +class CollisionEvent : public Event {}; /** * \brief Event triggered when text is submitted, e.g., from a text input. @@ -110,3 +108,5 @@ public: * \brief Event triggered to indicate the application is shutting down. */ class ShutDownEvent : public Event {}; + +} // namespace crepe |