aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Scene.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-13 20:48:44 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-13 20:48:44 +0100
commitded2f0d56d95edffb97830f406bce9e1ec4293d1 (patch)
treec66c423d1d5c9ebd67ddc43c8ea7a04c121fd27a /src/crepe/api/Scene.cpp
parentc4c5758061c817784743af07271445905d62dfdd (diff)
make format
Diffstat (limited to 'src/crepe/api/Scene.cpp')
-rw-r--r--src/crepe/api/Scene.cpp10
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);
}