update method
Called once per frame before rendering.
Implementation
void update(double dt) {
if (!visible) return;
onUpdate(dt);
for (final child in _children) {
child.update(dt);
}
}
Called once per frame before rendering.
void update(double dt) {
if (!visible) return;
onUpdate(dt);
for (final child in _children) {
child.update(dt);
}
}