Implement initial level service functionality

This commit is contained in:
NT_x86
2022-10-05 13:13:54 +03:00
parent 618a3eeec0
commit 48e65358f4
4 changed files with 167 additions and 0 deletions

View File

@@ -323,6 +323,9 @@ void Application::onSimulation(RealTime rdt, SimTime sdt, SimTime idt) {
if(_dataModel->isRunning())
{
LevelInstance* Level = _dataModel->getLevel();
Level->Step(sdt);
// XplicitNgine Start
std::vector<PartInstance *> toDelete;
for(size_t i = 0; i < _dataModel->getWorkspace()->partObjects.size(); i++)