aboutsummaryrefslogtreecommitdiff
path: root/src/example/script.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-24 10:52:21 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-24 10:52:21 +0200
commit39054829fa69bcfa2b468015dc3852a2f8deac9f (patch)
treee7726d90fb3c23a15919360dd10bdf709e7e087a /src/example/script.cpp
parentdd9940720cde6975f79d65e08075687c47f0aec6 (diff)
parent5447ddd896eb49ea9fd9f9191a277fd1d5730aa3 (diff)
merge master into loek/config
Diffstat (limited to 'src/example/script.cpp')
-rw-r--r--src/example/script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/example/script.cpp b/src/example/script.cpp
index 97e99b3..f737a90 100644
--- a/src/example/script.cpp
+++ b/src/example/script.cpp
@@ -4,12 +4,12 @@
*/
#include <crepe/ComponentManager.h>
-#include <crepe/GameObject.h>
#include <crepe/ScriptSystem.h>
#include <crepe/util/log.h>
#include <crepe/api/Config.h>
#include <crepe/api/BehaviorScript.h>
+#include <crepe/api/GameObject.h>
#include <crepe/api/Script.h>
using namespace crepe;
@@ -22,7 +22,7 @@ class MyScript : public Script {
int main() {
auto & cfg = api::Config::get_instance();
- cfg.log.level = util::log_level::TRACE;
+ cfg.log.level = util::LogLevel::TRACE;
auto obj = GameObject(0, "name", "tag", 0);
obj.add_component<BehaviorScript>().set_script<MyScript>();