diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-23 13:12:18 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-23 13:12:18 +0200 |
commit | 04a040e28ade412ea5b1767bf77eed3956121973 (patch) | |
tree | dcc93a90f08300f49f82bc4612f0328ef77a4b64 /src/example/components_internal.cpp | |
parent | 30d84ef9ad4a0010288db18294766fd4d5ed6f4a (diff) |
move user-facing classes to api namespace
Diffstat (limited to 'src/example/components_internal.cpp')
-rw-r--r-- | src/example/components_internal.cpp | 11 |
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; |