MCPcopy Create free account
hub / github.com/Aloshi/EmulationStation / update

Method update

src/components/ComponentListComponent.cpp:257–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257void ComponentListComponent::update(int deltaTime)
258{
259 for(auto iter = mEntries.begin(); iter != mEntries.end(); iter++)
260 {
261 if(iter->updateType == UpdateAlways)
262 {
263 iter->component->update(deltaTime);
264 continue;
265 }
266
267 if(iter->updateType == UpdateFocused && cursorValid() && getCell(mCursor.x(), mCursor.y())->component == iter->component)
268 {
269 iter->component->update(deltaTime);
270 continue;
271 }
272 }
273}
274
275void ComponentListComponent::render(const Eigen::Affine3f& parentTrans)
276{

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected