update method

  1. @override
  2. @mustCallSuper
void update(
  1. double dt
)
inherited

This updates every component in the tree.

It also adds the components added via add since the previous tick, and removes those that are marked for removal via the remove and Component.removeFromParent methods. You can override it to add more custom behavior.

Implementation

@override
@mustCallSuper
void update(double dt) {
  super.update(dt);
  _cameraWrapper.update(dt);
}