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

16 lines
298 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));
}
2023-12-17 16:16:46 +01:00
void SystemGraph::run(ThreadPool& threadPool, float deltaTime)
2023-01-29 18:58:59 +01:00
{
for(auto& system : systems) {
system->run(threadPool, deltaTime);
}
}