diff options
| author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-12 19:25:13 +0100 | 
|---|---|---|
| committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-12 19:25:13 +0100 | 
| commit | 80a80f385874ea109b54454b58e84037aa6092cc (patch) | |
| tree | a4bfa26ba71324af1f6c1029d58e433aa856ff63 | |
| parent | cd5f6b542f9cb447e3a9f500713c556a3d034bf3 (diff) | |
fix system order in engine class
| -rw-r--r-- | src/crepe/manager/SystemManager.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/src/crepe/manager/SystemManager.cpp b/src/crepe/manager/SystemManager.cpp index db7430e..f67e786 100644 --- a/src/crepe/manager/SystemManager.cpp +++ b/src/crepe/manager/SystemManager.cpp @@ -16,17 +16,17 @@ using namespace crepe;  using namespace std;  SystemManager::SystemManager(Mediator & mediator) : Manager(mediator) { -	this->load_system<ReplaySystem>(); +	this->load_system<InputSystem>(); +	this->load_system<EventSystem>();  	this->load_system<ScriptSystem>();  	this->load_system<AISystem>();  	this->load_system<PhysicsSystem>();  	this->load_system<CollisionSystem>(); +	this->load_system<AudioSystem>();  	this->load_system<AnimatorSystem>();  	this->load_system<ParticleSystem>();  	this->load_system<RenderSystem>(); -	this->load_system<InputSystem>(); -	this->load_system<EventSystem>(); -	this->load_system<AudioSystem>(); +	this->load_system<ReplaySystem>();  	this->mediator.system_manager = *this;  } |