16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 18:09:18 +02:00
This commit is contained in:
2026-05-24 21:48:05 +02:00
parent 5b51188dfe
commit 2c599cb419
46 changed files with 2034 additions and 85 deletions

View File

@@ -36,14 +36,21 @@ void ECScene::Unload()
void ECScene::Update(float dt)
{
if (!m_loaded){
if (!m_loaded)
return;
}
m_systems.Update(m_world, dt);
OnUpdate(dt);
}
void ECScene::Render()
{
if (!m_loaded)
return;
m_systems.Render(m_world);
}
ECWorld& ECScene::World()
{