mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 13:29:18 +02:00
New Components/ Prepare to new scene loading system
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
#include "ECScene.h"
|
||||
#include "utilities/Logs.h"
|
||||
#include "simulation/simulation.h"
|
||||
|
||||
ECScene::ECScene()
|
||||
: m_loaded(false)
|
||||
@@ -39,6 +40,9 @@ void ECScene::Update(float dt)
|
||||
if (!m_loaded)
|
||||
return;
|
||||
|
||||
if (!simulation::is_ready)
|
||||
return;
|
||||
|
||||
m_systems.Update(m_world, dt);
|
||||
OnUpdate(dt);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user