diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-13 20:48:44 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-13 20:48:44 +0100 |
commit | ded2f0d56d95edffb97830f406bce9e1ec4293d1 (patch) | |
tree | c66c423d1d5c9ebd67ddc43c8ea7a04c121fd27a /src/crepe/api/Scene.cpp | |
parent | c4c5758061c817784743af07271445905d62dfdd (diff) |
make format
Diffstat (limited to 'src/crepe/api/Scene.cpp')
-rw-r--r-- | src/crepe/api/Scene.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/crepe/api/Scene.cpp b/src/crepe/api/Scene.cpp index 9a2a1bc..ad729d2 100644 --- a/src/crepe/api/Scene.cpp +++ b/src/crepe/api/Scene.cpp @@ -4,12 +4,12 @@ using namespace crepe; SaveManager & Scene::get_save_manager() const { return mediator->save_manager; } -GameObject Scene::new_object(const std::string & name, const std::string & tag, const vec2 & position, double rotation, double scale) { - // Forward the call to ComponentManager's new_object method - return mediator->component_manager->new_object(name, tag, position, rotation, scale); +GameObject Scene::new_object(const std::string & name, const std::string & tag, + const vec2 & position, double rotation, double scale) { + // Forward the call to ComponentManager's new_object method + return mediator->component_manager->new_object(name, tag, position, rotation, scale); } - void Scene::set_persistent(const Asset & asset, bool persistent) { - mediator->resource_manager->set_persistent(asset, persistent); + mediator->resource_manager->set_persistent(asset, persistent); } |