diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-21 09:43:13 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-21 09:43:13 +0100 |
commit | 502fb8e8d1dcfe10f55fdef2cdfb71afec806204 (patch) | |
tree | 8b967076cf0212f00d811e57264e3e0878c059c4 /src/crepe/api/Event.h | |
parent | da379a58033c0ef3c9c854326a3fca25d6e54319 (diff) |
pull script/event changes from `loek/collision-system`
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..ab4be2b 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 {}; + +} |