aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Script.hpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-05 15:49:59 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-05 15:49:59 +0100
commita47b981c2254e1d49f58ebd4244c1be4624ba998 (patch)
treed5ca1f37f0e2d93f241721b13abacc5123bfe92a /src/crepe/api/Script.hpp
parent5f75bdbf3d38c94baeae52f4c4889f147ec6885e (diff)
remove util and api namespaces
Diffstat (limited to 'src/crepe/api/Script.hpp')
-rw-r--r--src/crepe/api/Script.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/api/Script.hpp b/src/crepe/api/Script.hpp
index 8004fe3..d96c0e8 100644
--- a/src/crepe/api/Script.hpp
+++ b/src/crepe/api/Script.hpp
@@ -5,7 +5,7 @@
#include "BehaviorScript.h"
#include "Script.h"
-namespace crepe::api {
+namespace crepe {
template <typename T>
T & Script::get_component() {
@@ -22,4 +22,4 @@ std::vector<std::reference_wrapper<T>> Script::get_components() {
return mgr.get_components_by_id<T>(this->parent->game_object_id);
}
-} // namespace crepe::api
+} // namespace crepe