Implemented basic game dll interaction
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#include "SystemGraph.h"
|
||||
|
||||
using namespace Seele;
|
||||
|
||||
void SystemGraph::addSystem(System::UPSystemBase system)
|
||||
{
|
||||
systems.add(std::move(system));
|
||||
}
|
||||
|
||||
void SystemGraph::run(dp::thread_pool<>& threadPool, float deltaTime)
|
||||
{
|
||||
for(auto& system : systems) {
|
||||
system->run(threadPool, deltaTime);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user