Changed System to take World through constructor and store it instead, cause it makes more sense.
This commit is contained in:
@@ -102,7 +102,7 @@ void GameHealthSystemTest::Tick()
|
||||
m_LastTime = currentTime;
|
||||
|
||||
// Iterate through systems and update world!
|
||||
m_SystemPipeline->Update(m_World, dt);
|
||||
m_SystemPipeline->Update(dt);
|
||||
|
||||
m_EventBroker->Swap();
|
||||
m_EventBroker->Clear();
|
||||
|
||||
@@ -179,7 +179,7 @@ void Game::Tick()
|
||||
#endif
|
||||
|
||||
// Iterate through systems and update world!
|
||||
m_SystemPipeline->Update(m_World, dt);
|
||||
m_SystemPipeline->Update(dt);
|
||||
m_Renderer->Update(dt);
|
||||
|
||||
m_RenderQueueFactory->Update(m_World);
|
||||
|
||||
Reference in New Issue
Block a user