Integrates components into the update and render loop.

This commit is contained in:
Areloch 2016-05-14 12:40:13 -05:00
parent fa78a2f354
commit b3b50abd9b
3 changed files with 46 additions and 1 deletions

View file

@ -27,6 +27,9 @@
#include "platform/profiler.h"
#include "console/consoleTypes.h"
#include "T3D/Components/coreInterfaces.h"
#include "T3D/Components/Component.h"
//----------------------------------------------------------------------------
ProcessObject::ProcessObject()
@ -268,6 +271,11 @@ void ProcessList::advanceObjects()
onTickObject(pobj);
}
for (U32 i = 0; i < UpdateInterface::all.size(); i++)
{
UpdateInterface::all[i]->processTick();
}
mTotalTicks++;
PROFILE_END();