MCPcopy Index your code
hub / github.com/KilledByAPixel/LittleJS / updateObject

Method updateObject

plugins/uiSystem.js:253–262  ·  view source on GitHub ↗
(o)

Source from the content-addressed store, hash-verified

251 uiSystem.uiObjects = uiSystem.uiObjects.filter(o=>!o.destroyed);
252
253 function updateObject(o)
254 {
255 if (!o.visible) return;
256
257 // update in reverse order to detect mouse enter/leave
258 updateTransforms(o);
259 for (let i=o.children.length; i--;)
260 updateObject(o.children[i]);
261 o.update();
262 }
263 }
264 function uiRender()
265 {

Callers

nothing calls this directly

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected