aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Event.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-21 09:10:40 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-21 09:10:40 +0100
commit9619f340827b00d4836406ded073a73b6df9386f (patch)
treee6b00c53cc0ec28dcf3e189d90b0cb4ce4cbe144 /src/crepe/api/Event.h
parent9a5967006c4b8cd202142517b402b4c75dc8b90b (diff)
do not call event handlers when behaviorscript is not active + add doxygenloek/collision-system
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 9923a05..c1432e1 100644
--- a/src/crepe/api/Event.h
+++ b/src/crepe/api/Event.h
@@ -1,5 +1,5 @@
-// TODO discussing the location of these events
#pragma once
+// TODO discussing the location of these events
#include <string>
@@ -7,6 +7,8 @@
#include "KeyCodes.h"
+namespace crepe {
+
/**
* \brief Base class for all event types in the system.
*/
@@ -113,3 +115,5 @@ public:
* \brief Event triggered to indicate the application is shutting down.
*/
class ShutDownEvent : public Event {};
+
+}