diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-28 13:13:54 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-28 13:13:54 +0100 |
commit | 7a07c56d572a6f30d0aa611bd566197bc04c3b33 (patch) | |
tree | 75a5c234c48dad5c35d4773409bd6efcd4514dc3 /src/crepe/system/PhysicsSystem.cpp | |
parent | 63bce3dd21c82e2b4e45c07934d5a26684cdaa93 (diff) |
add more documentation to Mediator + fix system mediator use
Diffstat (limited to 'src/crepe/system/PhysicsSystem.cpp')
-rw-r--r-- | src/crepe/system/PhysicsSystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/system/PhysicsSystem.cpp b/src/crepe/system/PhysicsSystem.cpp index 071ca21..eba9dfa 100644 --- a/src/crepe/system/PhysicsSystem.cpp +++ b/src/crepe/system/PhysicsSystem.cpp @@ -11,7 +11,7 @@ using namespace crepe; void PhysicsSystem::update() { - ComponentManager & mgr = this->component_manager; + ComponentManager & mgr = this->mediator.component_manager; RefVector<Rigidbody> rigidbodies = mgr.get_components_by_type<Rigidbody>(); RefVector<Transform> transforms = mgr.get_components_by_type<Transform>(); |