aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/LoopManager.cpp
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-12-11 13:21:19 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-12-11 13:21:19 +0100
commit357ebfc3eac1d39b02875e1bd78ae6f58b10f824 (patch)
tree7d79435fa764c0fedcc912ddaf876ff03ef8be5e /src/crepe/api/LoopManager.cpp
parent6eef90e9ffb1d8fc25161e912bc5d8aa8e4024da (diff)
parentc45b60941b82dec2097d958b396a117b1634eada (diff)
Merge remote-tracking branch 'origin/master' into max/AI
Diffstat (limited to 'src/crepe/api/LoopManager.cpp')
-rw-r--r--src/crepe/api/LoopManager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/crepe/api/LoopManager.cpp b/src/crepe/api/LoopManager.cpp
index 7617600..1f0ba72 100644
--- a/src/crepe/api/LoopManager.cpp
+++ b/src/crepe/api/LoopManager.cpp
@@ -1,5 +1,6 @@
#include "../system/AISystem.h"
#include "../system/AnimatorSystem.h"
+#include "../system/AudioSystem.h"
#include "../system/CollisionSystem.h"
#include "../system/InputSystem.h"
#include "../system/ParticleSystem.h"
@@ -21,6 +22,7 @@ LoopManager::LoopManager() {
this->load_system<RenderSystem>();
this->load_system<ScriptSystem>();
this->load_system<InputSystem>();
+ this->load_system<AudioSystem>();
this->load_system<AISystem>();
}
@@ -40,6 +42,7 @@ void LoopManager::fixed_update() {
this->get_system<AISystem>().update();
this->get_system<PhysicsSystem>().update();
this->get_system<CollisionSystem>().update();
+ this->get_system<AudioSystem>().update();
}
void LoopManager::loop() {