diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-11-20 10:43:32 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-11-20 10:43:32 +0100 |
commit | 690471c7c4536c074a4dca5aab7cc618d47bfb5f (patch) | |
tree | 35dcf3858b8f86a031cf5070de9caa069af4257d /src/crepe/api/LoopManager.cpp | |
parent | d81ecc242ff88ffd49e0b5296dfb23ab54a0cd78 (diff) |
merge with maser
Diffstat (limited to 'src/crepe/api/LoopManager.cpp')
-rw-r--r-- | src/crepe/api/LoopManager.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/crepe/api/LoopManager.cpp b/src/crepe/api/LoopManager.cpp index a4bc101..586919d 100644 --- a/src/crepe/api/LoopManager.cpp +++ b/src/crepe/api/LoopManager.cpp @@ -35,10 +35,8 @@ void LoopManager::start() { void LoopManager::set_running(bool running) { this->game_running = running; } void LoopManager::fixed_update() { - PhysicsSystem phys; - phys.update(); - CollisionSystem col; - col.update(); + this->get_system<PhysicsSystem>().update(); + this->get_system<CollisionSystem>().update(); } void LoopManager::loop() { |