Files
Seele/src/Engine/System/SystemGraph.cpp
T

16 lines
305 B
C++
Raw Normal View History

2023-01-29 18:58:59 +01:00
#include "SystemGraph.h"
using namespace Seele;
2023-11-17 22:31:26 +01:00
void SystemGraph::addSystem(System::OSystemBase system)
2023-01-29 18:58:59 +01:00
{
systems.add(std::move(system));
}
void SystemGraph::run(dp::thread_pool<>& threadPool, float deltaTime)
{
for(auto& system : systems) {
system->run(threadPool, deltaTime);
}
}