aboutsummaryrefslogtreecommitdiff
path: root/src/example/components_internal.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-23 13:12:18 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-23 13:12:18 +0200
commit04a040e28ade412ea5b1767bf77eed3956121973 (patch)
treedcc93a90f08300f49f82bc4612f0328ef77a4b64 /src/example/components_internal.cpp
parent30d84ef9ad4a0010288db18294766fd4d5ed6f4a (diff)
move user-facing classes to api namespace
Diffstat (limited to 'src/example/components_internal.cpp')
-rw-r--r--src/example/components_internal.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/example/components_internal.cpp b/src/example/components_internal.cpp
index 54ce295..e2169e1 100644
--- a/src/example/components_internal.cpp
+++ b/src/example/components_internal.cpp
@@ -6,14 +6,17 @@
#include <cassert>
#include <chrono>
-#include <crepe/Collider.h>
#include <crepe/Component.h>
#include <crepe/ComponentManager.h>
-#include <crepe/GameObject.h>
-#include <crepe/Rigidbody.h>
-#include <crepe/Sprite.h>
+
+#include <crepe/api/Collider.h>
+#include <crepe/api/GameObject.h>
+#include <crepe/api/Rigidbody.h>
+#include <crepe/api/Sprite.h>
+
#include <crepe/util/log.h>
+using namespace crepe::api;
using namespace crepe;
using namespace std;