void EntitySystem::process() { if(checkProcessing()) { begin(); processEntities(actives); end(); } };
// Called by the client to initiate processing void EntitySystem::update() { if (checkProcessing()) { begin(); processEntities(_entities); end(); } }
// Called by the client to initiate processing void EntitySystem::update() { if (checkProcessing()) { if (_firstUpdate) onFirstUpdate(); onBegin(); processEntities(_entities); onEnd(); } }