update method
Updates all children of this container.
The delta
parameter specifies the time elapsed since the last frame.
This method should be called (and gets called) once per frame to update the state of this container and its children.
Implementation
@override
void update(double delta) {
super.update(delta);
final tmp = List.unmodifiable(children);
for (var child in tmp) {
child.update(delta);
}
}