aboutsummaryrefslogtreecommitdiff
path: root/src/example/script.cpp
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-11-05 16:29:18 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-11-05 16:29:18 +0100
commitae6a103946e437ca85cc69c5fc2cbf68d35ffeae (patch)
treea0bd09748c68950353f05d245bed4de470548fc6 /src/example/script.cpp
parenta5d3564f6d051986376c98abb9c098a8a7183fe0 (diff)
parent5b248d068a94902be9ca4d00fe07d551f64c49b9 (diff)
Merge remote-tracking branch 'origin/master' into max/gameobject
Diffstat (limited to 'src/example/script.cpp')
-rw-r--r--src/example/script.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/example/script.cpp b/src/example/script.cpp
index e4c8319..928eddf 100644
--- a/src/example/script.cpp
+++ b/src/example/script.cpp
@@ -4,7 +4,7 @@
*/
#include <crepe/ComponentManager.h>
-#include <crepe/ScriptSystem.h>
+#include <crepe/system/ScriptSystem.h>
#include <crepe/util/log.h>
#include <crepe/api/BehaviorScript.h>
@@ -14,14 +14,13 @@
#include <crepe/api/Transform.h>
using namespace crepe;
-using namespace crepe::api;
using namespace std;
// Unrelated stuff that is not part of this POC
int _ = []() {
// Show dbg_trace() output
- auto & cfg = api::Config::get_instance();
- cfg.log.level = util::LogLevel::TRACE;
+ auto & cfg = Config::get_instance();
+ cfg.log.level = LogLevel::TRACE;
return 0; // satisfy compiler
}();