aboutsummaryrefslogtreecommitdiff
path: root/src/example/script.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-13 12:19:56 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-13 12:19:56 +0100
commit87c74782e486647c46f9ca4d2f857094006e563c (patch)
treec8e0b893610cb90d7bd7578c3d076b7e905c822a /src/example/script.cpp
parentec3601fbc17a38a44608a04f53d4e36c1bff8c96 (diff)
`make format`
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 4ba2b4b..69d1ce1 100644
--- a/src/example/script.cpp
+++ b/src/example/script.cpp
@@ -35,8 +35,8 @@ class MyScript : public Script {
};
int main() {
- ComponentManager component_manager {};
- ScriptSystem system { component_manager };
+ ComponentManager component_manager{};
+ ScriptSystem system{component_manager};
// Create game object with Transform and BehaviorScript components
auto & obj = component_manager.new_object("name");