update method
Implementation
void update({double dt = 0, bool recursive = true}) {
if (updatingSuspended) {
return;
}
for (var updater in updaters) {
updater(this, dt);
}
if (recursive) {
for (var submob in submobjects) {
submob.update(dt: dt, recursive: recursive);
}
}
}