aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/crepe/api/Scene.cpp2
-rw-r--r--src/crepe/api/Scene.h4
-rw-r--r--src/crepe/api/SceneManager.cpp2
-rw-r--r--src/crepe/api/SceneManager.h4
-rw-r--r--src/crepe/api/SceneManager.hpp2
5 files changed, 7 insertions, 7 deletions
diff --git a/src/crepe/api/Scene.cpp b/src/crepe/api/Scene.cpp
index 189650f..092dc62 100644
--- a/src/crepe/api/Scene.cpp
+++ b/src/crepe/api/Scene.cpp
@@ -1,5 +1,5 @@
#include "Scene.h"
-using namespace crepe::api;
+using namespace crepe;
Scene::Scene(std::string name) : name(name) {}
diff --git a/src/crepe/api/Scene.h b/src/crepe/api/Scene.h
index 35fe9db..8bb487a 100644
--- a/src/crepe/api/Scene.h
+++ b/src/crepe/api/Scene.h
@@ -2,7 +2,7 @@
#include <string>
-namespace crepe::api {
+namespace crepe {
class Scene {
public:
@@ -14,4 +14,4 @@ public:
std::string name;
};
-} // namespace crepe::api
+} // namespace crepe
diff --git a/src/crepe/api/SceneManager.cpp b/src/crepe/api/SceneManager.cpp
index 773303b..1680dd1 100644
--- a/src/crepe/api/SceneManager.cpp
+++ b/src/crepe/api/SceneManager.cpp
@@ -2,7 +2,7 @@
#include "SceneManager.h"
-using namespace crepe::api;
+using namespace crepe;
SceneManager::SceneManager() {}
diff --git a/src/crepe/api/SceneManager.h b/src/crepe/api/SceneManager.h
index 97441a5..76fe92e 100644
--- a/src/crepe/api/SceneManager.h
+++ b/src/crepe/api/SceneManager.h
@@ -6,7 +6,7 @@
#include "Scene.h"
-namespace crepe::api {
+namespace crepe {
class SceneManager {
public:
@@ -31,6 +31,6 @@ private:
std::queue<std::string> next_scene;
};
-} // namespace crepe::api
+} // namespace crepe
#include "SceneManager.hpp"
diff --git a/src/crepe/api/SceneManager.hpp b/src/crepe/api/SceneManager.hpp
index 120640f..7789823 100644
--- a/src/crepe/api/SceneManager.hpp
+++ b/src/crepe/api/SceneManager.hpp
@@ -1,6 +1,6 @@
#include "SceneManager.h"
-using namespace crepe::api;
+using namespace crepe;
using namespace std;
// Add a new concrete scene to the scene manager